forked from web/portal
aplay latest design
This commit is contained in:
12
build+deploy.sh
Executable file
12
build+deploy.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
# Build site and deploy to remote via SSH
|
||||
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
|
||||
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
|
||||
#set -o xtrace ## set -x : Print command traces before executing command
|
||||
|
||||
rm -rf public
|
||||
hugo
|
||||
rsync -v --archive --delete --exclude /.htpasswd public/ \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/
|
||||
rsync -v --archive public/.htpasswd \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/
|
||||
Reference in New Issue
Block a user