From 7aec448e6c1294ffcfd318e64344be15e2b09710 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Tue, 12 Dec 2023 13:59:24 +0100 Subject: [PATCH] Add a comment about preview being ready --- .woodpecker/doc-pages.yml | 1 + 1 file changed, 1 insertion(+) 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