๐Ÿ“ฆ ordovicia / ordovicia.github.io-hugo

๐Ÿ“„ deploy.sh ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12#!/bin/bash

set -e

hugo

cd public
git add .
LANG=C msg="Rebuilding site at $(date). ($(hugo version))"
git commit -m "$msg"
git push origin master