1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pages:
  artifacts:
    paths:
    - public
  image: sphinxdoc/sphinx
  only:
  - main
  script:
  - apt -yq update
  - apt -yq install git
  - bash ./scripts/build_documentation.sh -i public
  stage: deploy
  tags:
  - ci.inria.fr
  - linux
  - small
release_job:
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  release:
    description: Release $CI_COMMIT_TAG
    tag_name: $CI_COMMIT_TAG
  rules:
  - if: $CI_COMMIT_TAG
  script:
  - echo "running release_job"
  stage: release
  tags:
  - ci.inria.fr
  - linux
  - small
stages:
- release
- deploy