blog/.gitlab-ci.yml
shockrah 1f3bc5e74d * Using extends in builder jobs
Ideally this fixes the builder/deploy pipeline for pages but
this is still  experimental
2022-03-20 23:16:12 +00:00

48 lines
636 B
YAML

image: shockrah/website:latest
stages:
- build
- deploy
include:
- local: 'ci/builders.yml'
build-neocities:
stage: build
extends: .builder
script:
- hugo --config configs/neocities.toml
build-pages:
stage: build
extends: .builder
script:
- hugo --config configs/pages.toml
pages:
stage: deploy
needs:
- build-pages
dependencies:
- build-pages
script:
- echo Dummy echo for pages job
artifacts:
paths:
- public/
neocities:
stage: deploy
needs:
- build-neocities
when: manual
dependencies:
- build-neocities
script:
- bash scripts/neocities.sh