Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
-name: Generate documentation
+name: Publish documentation
on:
workflow_dispatch:
+ workflow_call:
jobs:
- generate:
+ publish-documentation:
runs-on: ubuntu-latest
steps:
jobs:
release-please:
runs-on: ubuntu-latest
+ if: github.repository == 'poolifier/poolifier'
permissions:
contents: write
run: pnpm publish --no-git-checks --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+ publish-documentation:
+ uses: ./.github/workflows/publish-documentation.yml
+ needs: [publish-npm, publish-jsr]