summaryrefslogtreecommitdiff
path: root/deploy.sh
blob: e5be4529d581b173a6e7b587e0b8e14fe636e09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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!"