blog/.gitlab-ci.yml

46 lines
614 B
YAML

image: shockrah/website:latest
stages:
- build
- deploy
include:
- local: 'ci/builders.yml'
build-neocities: &builder
stage: build
script:
- hugo --config configs/neocities.toml
build-pages: &builder
stage: build
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