build(ci): fix documentation generation
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 7 May 2023 21:30:51 +0000 (23:30 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 7 May 2023 21:30:51 +0000 (23:30 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/generate-documentation.yml

index d42848746e214001aff823cc4252e183da340959..52dbdbde152c316e8b1563d688d4abca957821d8 100644 (file)
@@ -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 }}