Friendiiverse/.gitlab-ci.yml

28 lines
401 B
YAML
Raw Normal View History

2023-04-20 00:19:19 +02:00
image: alpine:latest
stages:
- test
2023-04-20 00:19:19 +02:00
- deploy
before_script: |
apk update
apk add python3
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
2023-04-20 00:19:19 +02:00
pages:
stage: deploy
script: |
python3 ./Build.py
2023-04-20 15:17:00 +02:00
mv ./Dist ./public
2023-04-20 18:13:47 +02:00
cp ./public/Friendiiverse.html ./public/index.html
2023-04-20 00:19:19 +02:00
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH