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: |
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 }}