beardyjay.co.uk

My main website source code, uses Hugo.
Log | Files | Refs

commit 32a83d971d58712131dd3df805899967f6fa6433
parent a22e372fb8b2e85d2bd20d7203a6a0a1e2697e24
Author: Jay Scott <jay@beardyjay.co.uk>
Date:   Wed,  6 Jun 2018 14:50:33 +0100

fixing version

Diffstat:
M.gitlab-ci.yml | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: golang:1.9 + +stages: + - build + +before_script: + - apt-get install python + - go get -v github.com/spf13/hugo + - sudo pip install s3cmd Pygments + +build: + stage: build + script: + - hugo + - s3cmd sync --no-mime-magic --delete-removed -P -M -r public/ s3://beardyjay.co.uk/ + - s3cmd --recursive modify --add-header="Cache-Control:public ,max-age=604800" --add-header="Strict-Transport-Security:max-age=31536000" s3://beardyjay.co.uk/