Merge branch 'master' of git.goatpr0n.de:blog/goatpr0n.farm

* 'master' of git.goatpr0n.de:blog/goatpr0n.farm:
  Add .gitlab-ci.yml
This commit is contained in:
jpk 2020-04-26 16:34:07 +02:00
commit f941fab0d5
1 changed files with 23 additions and 0 deletions

23
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
# This file is a template, and might need editing before it works on your project.
---
# All available Hugo versions are listed here:
# https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master