This commit is contained in:
Colin Diem
2020-07-12 13:18:49 -04:00
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
--- ---
title: "Self hosting gitea" title: "Self hosting gitea"
date: 2020-07-03T13:59:19-04:00 date: 2020-07-09T00:59:19-04:00
draft: false draft: false
tags: ["blog", "dev"] tags: ["blog", "dev"]
author: "Colin Diem" author: "Colin Diem"

View File

@@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
clear 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." echo "Running hugo and copying the public directory to the /srv/http directory."
cd /home/pi/quickstart cd /home/pi/quickstart
@@ -7,4 +11,4 @@ hugo
cp -r /home/pi/quickstart/public/. /srv/http 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!"