Merge pull request #30 from JasperVanDenBosch/orphaned-child-pages #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: read | |
| jobs: | |
| call-test-build: | |
| uses: ./.github/workflows/testbuild.yml | |
| publish-artifacts: | |
| environment: production | |
| needs: call-test-build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download all artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: dist | |
| merge-multiple: true | |
| - name: List files | |
| run: ls -R dist | |
| - name: Publish package | |
| uses: pypa/gh-action-pypi-publish@v1.12.4 | |
| with: | |
| verbose: true | |
| password: ${{ secrets.API_TOKEN_PYPI }} |