Add GitLab CI setup to publish to Pages
This commit is contained in:
parent
87c7dff411
commit
257d294b3e
1 changed files with 12 additions and 0 deletions
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
image:
|
||||
name: antora/antora
|
||||
pages:
|
||||
stage: deploy
|
||||
interruptible: true
|
||||
script:
|
||||
- antora --fetch --redirect-facility=gitlab --to-dir=public --url $CI_PAGES_URL site.yml
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
Loading…
Add table
Add a link
Reference in a new issue