mirror of
https://git.resf.org/sig_core/wiki.git
synced 2024-11-15 20:21:22 +00:00
27 lines
380 B
YAML
27 lines
380 B
YAML
|
---
|
||
|
before_script:
|
||
|
- dnf install python36
|
||
|
- pip3 install -r requirements.txt
|
||
|
|
||
|
test:
|
||
|
image: rockylinux:latest
|
||
|
stage: test
|
||
|
script:
|
||
|
- mkdocs build --script --verbose --site-dir test
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- test
|
||
|
except:
|
||
|
- main
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
script:
|
||
|
- mkdocs build --verbose
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
only:
|
||
|
- main
|
||
|
...
|