mirror of https://gitlab.com/octtspacc/OcttKB
19 lines
360 B
YAML
19 lines
360 B
YAML
|
image: alpine:latest
|
||
|
|
||
|
before_script: |
|
||
|
apk update
|
||
|
apk add npm
|
||
|
npm install -g tiddlywiki
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
script: |
|
||
|
#./Build.sh
|
||
|
cd ./public
|
||
|
tiddlywiki . --rendertiddler $:/core/templates/alltiddlers.template.html Static.html text/plain
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
rules:
|
||
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|