From: Jérôme Benoit Date: Fri, 5 Jul 2024 14:02:54 +0000 (+0200) Subject: ci: cleanup documentation publication GH action X-Git-Tag: v4.0.17~7 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b65b3e1b55adaa204c84f79d1835650d1df3f6d3;p=poolifier.git ci: cleanup documentation publication GH action Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f70ab97a..9097fa86 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -151,9 +151,9 @@ jobs: pnpm typedoc - name: Commit files - if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' + if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' env: - COMMIT_MESSAGE: 'docs: generate documentation' + COMMIT_MESSAGE: 'docs: publish documentation' COMMIT_AUTHOR: Documentation Bot COMMIT_EMAIL: documentation-bot@users.noreply.github.com run: | @@ -164,7 +164,7 @@ jobs: git commit -a -m "${{ env.COMMIT_MESSAGE }}" - name: Push changes - if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' + if: github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' uses: CasperWA/push-protected@v2 with: token: ${{ secrets.GH_TOKEN_PROTECTED }}