From: Oto Šťáva Date: Tue, 12 Sep 2023 12:27:09 +0000 (+0200) Subject: .gitlab-ci: fix Pages publishing X-Git-Tag: v5.7.1~8^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-develop-docs-05qey4%2Fdeployments%2F2983;p=thirdparty%2Fknot-resolver.git .gitlab-ci: fix Pages publishing 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`. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7f16cb04..f6b114042 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -docs:public: +pages: stage: deploy needs: - docs:build script: mv doc/html public when: manual + artifacts: + paths: + - public # }}}