blog/.gitlab-ci.yml
2022-03-20 15:54:56 -07:00

44 lines
578 B
YAML

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