1
0
Fork 0

Bump Hugo Version + add preview shortcut

This commit is contained in:
Sebastian Schulze 2018-04-30 15:42:52 +02:00
parent 08c3d166b5
commit e77eada462
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
HUGO_VERSION="0.37"
HUGO_VERSION="0.39"
HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz"
@ -8,10 +8,11 @@ hugo:
curl -L $(HUGO_URL) > ./hugo.tar.gz
tar -xvf hugo.tar.gz
rm -f LICENSE.md README.md
preview: hugo
hugo server
public:
hugo
clean:
rm -rf public/
sync:
rsync -avz public/ uberspace-bascht:/var/www/virtual/bascht/bascht.com
rsync -avz --delete --progress public/ uberspace-bascht:/var/www/virtual/bascht/bascht.com/