Skip to content
Snippets Groups Projects
Commit 0f076da0 authored by Rebecca Kohlhaas's avatar Rebecca Kohlhaas
Browse files

Pipeline: created job to build the sphinx-pages and move them to a 'public' folder

parent 0d319a1d
No related branches found
No related tags found
No related merge requests found
Pipeline #45790 failed
...@@ -42,6 +42,7 @@ before_script: ...@@ -42,6 +42,7 @@ before_script:
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- build - build
- test - test
- pages
- deploy - deploy
...@@ -76,6 +77,16 @@ unit-test-job: # This job runs in the test stage. ...@@ -76,6 +77,16 @@ unit-test-job: # This job runs in the test stage.
- tests/**/* - tests/**/*
when: always when: always
pages-job:
script:
- pip install sphinx sphinx-rtd-theme
- cd doc
- make html
- mv build/html/ ../public/
artifacts:
paths:
- public
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
environment: production environment: production
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment