2022-05-17 13:00:20 +02:00
|
|
|
image: alpine:latest
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- apk update
|
2022-05-17 18:15:08 +02:00
|
|
|
- apk add python3 py3-pip npm git
|
|
|
|
- pip3 install Markdown
|
|
|
|
- npm install -g pug-cli
|
2022-05-17 13:00:20 +02:00
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- git clone --depth 1 https://gitlab.com/octtspacc/staticoso
|
2022-06-04 16:21:18 +02:00
|
|
|
- python3 staticoso/Source/Build.py --SiteRoot "/sitoctt/"
|
2022-05-17 13:00:20 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
2022-05-17 18:23:20 +02:00
|
|
|
|