mirror of https://gitlab.com/octtspacc/sitoctt
20 lines
398 B
YAML
20 lines
398 B
YAML
image: alpine:latest
|
|
|
|
before_script:
|
|
- apk update
|
|
- apk add python3 py3-pip npm git
|
|
- pip3 install Markdown
|
|
- npm install -g pug-cli
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- git clone --depth 1 https://gitlab.com/octtspacc/staticoso
|
|
- python3 staticoso/Source/Build.py --SiteRoot "/sitoctt/"
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
|