From: Jérôme Benoit Date: Sun, 7 May 2023 21:30:51 +0000 (+0200) Subject: build(ci): fix documentation generation X-Git-Tag: v2.4.13~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9e10031ee0b5a9d0842cbf0cd65295742bfdc03e;p=poolifier.git build(ci): fix documentation generation Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index d42848746..52dbdbde1 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -28,7 +28,7 @@ jobs: pnpm typedoc - name: Commit files - if: ${{ github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' }} + if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" @@ -36,7 +36,7 @@ jobs: git commit -m "chore: generate documentation" -a - name: Push changes - if: ${{ github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' }} + if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' uses: CasperWA/push-protected@v2 with: token: ${{ secrets.GH_TOKEN_PROTECTED }}