Verified Commit 9c9ba703 authored by anarcat's avatar anarcat
Browse files

replace our pages job with the ci-tempaltes one

We still need to override the rules so that we run only on
merge_requests. Upstream default is the opposite.
parent 59c230ab
......@@ -25,15 +25,14 @@ build:
paths:
- public
# we'd like to *not* rebuild hugo here, but pages fails with:
#
# jobs pages config should implement a script: or a trigger: keyword
include:
project: tpo/tpa/ci-templates
file: pages-deploy.yml
# use pages for merge requests, not main (which is the default in the
# above template). the logic here is that we want people that do not
# have acess to the repository to still have a preview of their merge
# request.
pages:
stage: deploy
script:
- hugo
artifacts:
paths:
- public
only:
- merge_requests
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request"'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment