OcttKB/.gitlab-ci.yml

20 lines
392 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 ./index.html --rendertiddler $:/core/templates/alltiddlers.template.html Static.html text/plain
mv ./output/* ./
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH