Publish to GitHub Pages #275
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 to GitHub Pages" | |
| on: | |
| delete: | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: | |
| - "Build and Export Game" | |
| types: | |
| - completed | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| pull-requests: write | |
| statuses: write | |
| jobs: | |
| publish: | |
| name: Publish all branches to GitHub Pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: endlessm/amalgamate-pages@v2 | |
| with: | |
| workflow_name: "Build and Export Game" | |
| artifact_name: web |