diff --git a/content/blog/gitea.md b/content/blog/gitea.md index 5c0c9e7..ecc1e3b 100644 --- a/content/blog/gitea.md +++ b/content/blog/gitea.md @@ -1,6 +1,6 @@ --- title: "Self hosting gitea" -date: 2020-07-03T13:59:19-04:00 +date: 2020-07-09T00:59:19-04:00 draft: false tags: ["blog", "dev"] author: "Colin Diem" diff --git a/deploy.sh b/deploy.sh index cead3f3..8b3dd68 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,9 @@ #!/bin/bash clear +echo "Pulling latest from git repo." +git checkout master +git pull + echo "Running hugo and copying the public directory to the /srv/http directory." cd /home/pi/quickstart @@ -7,4 +11,4 @@ hugo cp -r /home/pi/quickstart/public/. /srv/http -echo "If there were no erros, I think we did it!" +echo "If there were no errors, I think we did it!"