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-05-24 00:25:28 +02:00
|
|
|
- python3 staticoso/Source/Build.py --Root "/postoctt/"
|
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
|
|
|
|