1 name: Generate documentation
12 uses: actions/checkout@v3
15 uses: pnpm/action-setup@v2
20 uses: actions/setup-node@v3
25 - name: Generate documentation
31 if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
33 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
34 git config --local user.name "github-actions[bot]"
36 git commit -m "docs: generate documentation" -a
39 if: github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'
40 uses: CasperWA/push-protected@v2
42 token: ${{ secrets.GH_TOKEN_PROTECTED }}
43 branch: ${{ github.event.repository.default_branch }}