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