From b65b3e1b55adaa204c84f79d1835650d1df3f6d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 5 Jul 2024 16:02:54 +0200 Subject: [PATCH] ci: cleanup documentation publication GH action MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/release-please.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }} -- 2.34.1