This instance will be upgraded to the latest Heptapod 0.20rc on 2021-02-26 at 11:00 UTC+1

.gitlab-ci.yml 790 Bytes
Newer Older
1 2 3 4
stages:
    - build
    - deploy

5
html-build:
6
    image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
7 8 9
    stage: build
    script:
        - PELICAN=pelican make build
10 11

deploy-test:
12
    image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
13 14 15 16
    stage: deploy
    script:
        - PELICAN=pelican make build # use artefact eventually
        - netlify deploy --site=056ee9b4-122d-4b02-bf62-5a2fc9776196 --auth="$NETLIFY_AUTH_TOKEN" --dir="output"
17 18

deploy:
19
    image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
20 21 22 23 24 25
    stage: deploy
    only:
        - branch/default
    script:
        - PELICAN=pelican make build # use artefact eventually
        - netlify deploy --site=056ee9b4-122d-4b02-bf62-5a2fc9776196 --auth="$NETLIFY_AUTH_TOKEN" --dir="output" --prod