diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-12-27 14:09:12 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-12-27 14:09:12 -0500 |
| commit | d79ee9654260c707564bee1cb0e4f7cce586e879 (patch) | |
| tree | dd7369287f57480f183c47ad301527b48a9404d2 /scripts/deploy.sh | |
| parent | fad3843b2ba6176a4c0834b66e27584fcf7aed17 (diff) | |
clean up
Diffstat (limited to 'scripts/deploy.sh')
| -rwxr-xr-x | scripts/deploy.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..56661c5 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# grab latest +git pull + +# setup gninx +cp ./nginx/homepage.conf /etc/nginx/sites-enabled/homepage.conf +mkdir /var/www/homepage/ + +# build and sync zola +(cd zola-static && zola build) +rsync -av --delete ./zola-static/public/ /var/www/homepage/ |
