Skip to content
Snippets Groups Projects
Commit 1f1cbc48 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

split pipeline in 2 step build & deploy

parent 7eadf7ca
No related branches found
No related tags found
No related merge requests found
image: registry-gitlab.pasteur.fr/hub-courses/sphinx-env/sphinx:1.4.1
sphinx:
stage: build
script:
- make html
- mv build/html/ .
artifacts:
paths:
- html/
pages:
stage: deploy
image: registry-gitlab.pasteur.fr/hub/courses/sphinx-env/sphinx:1.4.1
dependencies:
- sphinx
script:
- make html
- mv build/html/ public/
- mv html/ public/
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
- master
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment