Adding build script.
This commit is contained in:
parent
6fe2eca6cf
commit
48dd2ba5b2
1 changed files with 15 additions and 0 deletions
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
pages:
|
||||
stage: deploy
|
||||
image: python:latest
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- mkdocs build --site-dir site
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- .cache/
|
||||
artifacts:
|
||||
paths:
|
||||
- site
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
Loading…
Add table
Add a link
Reference in a new issue