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