Add initial .gitlab-ci.yml
This commit is contained in:
parent
b8dbf82ef1
commit
753e84dacd
|
@ -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
|
Loading…
Reference in New Issue