forked from web/portal
add CI
This commit is contained in:
@@ -5,13 +5,13 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
|
||||
#set -o xtrace ## set -x : Print command traces before executing command
|
||||
|
||||
# clean up
|
||||
rm -rf public
|
||||
rm -rf dist
|
||||
|
||||
# build
|
||||
python3 build.py items.yml
|
||||
./build.py items.yml
|
||||
|
||||
# deploy
|
||||
rsync -v --archive --delete public/ \
|
||||
rsync -v --archive --delete dist/ \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/htdocs-ssl/
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user