Add initial .gitlab-ci.yml

This commit is contained in:
Jez Cope 2019-11-25 23:17:47 +00:00
parent b8dbf82ef1
commit 753e84dacd
1 changed files with 26 additions and 0 deletions

26
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,26 @@
default:
image: jezcope/erambler-nikola:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
cache:
key: "$CI_COMMIT_SHA"
paths:
- .output/
stages:
- build
- deploy
build:
stage: build
script:
- git submodule update --init --recursive
- nikola build
production:
stage: deploy
script:
- ls .output
- nikola deploy