Skip to content
Snippets Groups Projects
Commit b393d86f authored by Valerio Formato's avatar Valerio Formato
Browse files

Merge branch 'ci_dev' into 'main'

Add CI/CD

See merge request !5
parents 60541071 2ddb81a3
No related branches found
No related tags found
1 merge request!5Add CI/CD
Pipeline #17569 passed
stages:
- build
- deploy
.build: &build
stage: build
script:
- cd docs
- make html
artifacts:
paths:
- docs/build/html
build:docker:
<<: *build
tags:
- docker
image: sphinxdoc/sphinx
needs: [ ]
.deploy: &deploy
stage: deploy
script:
- cp -rv docs/build/html/* ${DEPLOY_PATH}
deploy:prod:
<<: *deploy
tags:
- caesarvm
only:
- main
needs: [ "build:docker" ]
variables:
DEPLOY_PATH: "/app/wiki/docs/build/html"
GIT_STRATEGY: clone
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment