Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
werwack committed Oct 10, 2022
1 parent 9f9f11c commit 0f3de14
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,28 @@ stages:
# - pip install black flake8 flake8-black pep8-naming flake8-bugbear --constraint requirements-dev.txt
# - flake8 -v stampinfo

doc:
services:
- docker:20.10.10-dind
variables:
DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: /certs/client
stage: pre_release
tags:
- square_linux_dind
image: python:3
when: manual
script:
- pip install sphinx sphinx-rtd-theme
- sphinx-build -b html docs docs/_build/html
- rm -rf docs/_build/doctree
artifacts:
name: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHORT_SHA}_html"
paths:
- docs/_build
expire_in: 1 week
# Uncomment this to bfing back the synchronisation with the Readthedocs repository
# doc:
# services:
# - docker:20.10.10-dind
# variables:
# DOCKER_HOST: tcp://localhost:2376
# DOCKER_TLS_VERIFY: 1
# DOCKER_CERT_PATH: /certs/client
# stage: pre_release
# tags:
# - square_linux_dind
# image: python:3
# when: manual
# script:
# - pip install sphinx sphinx-rtd-theme
# - sphinx-build -b html docs docs/_build/html
# - rm -rf docs/_build/doctree
# artifacts:
# name: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHORT_SHA}_html"
# paths:
# - docs/_build
# expire_in: 1 week

zip:
services:
Expand Down

0 comments on commit 0f3de14

Please sign in to comment.