2022-05-17 13:00:20 +02:00
|
|
|
image: alpine:latest
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- apk update
|
2022-07-01 17:53:36 +02:00
|
|
|
- apk add python3 py3-pip npm go git
|
2022-07-01 15:07:06 +02:00
|
|
|
- pip3 install requests lxml
|
2022-08-23 00:07:45 +02:00
|
|
|
- npm install -g pug-cli
|
2022-05-17 13:00:20 +02:00
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
2022-08-23 00:42:42 +02:00
|
|
|
- git clone --depth 1 https://github.com/LukeEmmet/html2gmi
|
|
|
|
- cd html2gmi
|
|
|
|
- go get github.com/LukeEmmet/html2gmi
|
|
|
|
- echo "#!/bin/sh" > ./html2gmi
|
|
|
|
- echo "cd $PWD; go run ." >> ./html2gmi
|
|
|
|
- chmod +x ./html2gmi
|
|
|
|
- PATH=$PATH:$PWD
|
|
|
|
- cd ..
|
2022-05-17 13:00:20 +02:00
|
|
|
- git clone --depth 1 https://gitlab.com/octtspacc/staticoso
|
2022-08-18 00:04:54 +02:00
|
|
|
- ./Scripts/Deploy.GitLab.sh
|
|
|
|
- ./Scripts/Deploy.Gemini.sh
|
2022-05-17 13:00:20 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|