stages:
- build
- deploy
html-build:
image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
stage: build
script:
- PELICAN=pelican make build
deploy-test:
image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
stage: deploy
script:
- PELICAN=pelican make build # use artefact eventually
- netlify deploy --site=056ee9b4-122d-4b02-bf62-5a2fc9776196 --auth="$NETLIFY_AUTH_TOKEN" --dir="output"
deploy:
image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
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