Merge branch 'master' of http://crypticturtle.mynetgear.com:3000/colin/blog
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user