diff --git a/.woodpecker/doc-pages.yml b/.woodpecker/doc-pages.yml index 9254ebc..5e7165d 100644 --- a/.woodpecker/doc-pages.yml +++ b/.woodpecker/doc-pages.yml @@ -29,6 +29,7 @@ steps: git add . git commit -m "Update rendered page" -m "Source: $CI_COMMIT_SHA" -m "See: $CI_BUILD_LINK" git push + curl --fail -i -d body="Preview is ready at https://openpgp.codeberg.page/pr-preview/$CI_COMMIT_PULL_REQUEST/" -H "Authorization: token $CODEBERG_TOKEN" "https://codeberg.org/api/v1/repos/$CI_REPO/issues/$CI_COMMIT_PULL_REQUEST/comments" fi when: event: pull_request