diff options
| author | 0xhenrique <[email protected]> | 2025-10-29 02:11:34 +0000 |
|---|---|---|
| committer | 0xhenrique <[email protected]> | 2025-10-29 02:11:34 +0000 |
| commit | 244566e5766f94f8a71b66028ee05d489d9cf98e (patch) | |
| tree | 0333bccf302d44cff9d777fda129c0eea412b4be | |
| parent | e753be62c3260ce26c576e51126be78fcccdfdb6 (diff) | |
add deploy file
| -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!" |
