mirror of https://github.com/ascribe/wp-theme
add CI scripts
This commit is contained in:
parent
883aa5bd3a
commit
ee20e1826e
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e;
|
||||
|
||||
gulp build
|
||||
|
||||
exit;
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# $DEPLOY_SRC = ~/src/github.com/ascribe/wp-theme/ascribe/
|
||||
|
||||
set -e;
|
||||
|
||||
if [ $CI_BRANCH == "master" ]; then
|
||||
rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
|
||||
fi;
|
||||
|
||||
exit;
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e;
|
||||
|
||||
npm install gulp -g
|
||||
npm install
|
||||
bundle install
|
||||
|
||||
exit;
|
Loading…
Reference in New Issue