1 name: Generate documentation
12 uses: actions/checkout@v3
15 uses: actions/setup-node@v3
19 - name: Generate documentation
26 if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'"
28 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
29 git config --local user.name "github-actions[bot]"
30 git commit -m "chore: generate documentation" -a
33 if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'"
34 uses: CasperWA/push-protected@v2
36 token: ${{ secrets.GH_TOKEN_PROTECTED }}
37 branch: ${{ github.event.repository.default_branch }}