Skip to content

Commit

Permalink
.gitlab-ci: fix Pages publishing
Browse files Browse the repository at this point in the history
This commit renames `docs:public` to `pages` as required by GitLab CI to
recognize Pages jobs correctly. It also adds the `public` directory into
`artifacts:paths`.
  • Loading branch information
Oto Šťáva committed Jan 9, 2024
1 parent 92e6053 commit 53d8143
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -822,11 +822,14 @@ docs:release:
url: https://$CI_PROJECT_NAMESPACE.pages.nic.cz/-/knot-resolver/-/jobs/$CI_JOB_ID/artifacts/doc/html/index.html

# This job deploys the current docs as <https://knot.pages.nic.cz/knot-resolver>
docs:public:
pages:
stage: deploy
needs:
- docs:build
script: mv doc/html public
when: manual
artifacts:
paths:
- public

# }}}

0 comments on commit 53d8143

Please sign in to comment.