diff options
Diffstat (limited to 'deploy.sh')
| -rw-r--r-- | deploy.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..e5be452 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +PROJECT_DIR="/srv/0xhenrique-blog" + +cd "$PROJECT_DIR" + +echo "Pulling latest changes..." +git pull origin master + +# Build step skipped since we use Emacs to generate the site + +echo "Reloading nginx..." +systemctl reload nginx + +echo "Deploy complete!" |
