Skip to content

Publish to GitHub Pages #5222

Publish to GitHub Pages

Publish to GitHub Pages #5222

Workflow file for this run

# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
name: "Publish to GitHub Pages"
on:
delete:
workflow_dispatch:
workflow_run:
workflows:
- "Build and Export Game"
types:
- completed
# Cancel any ongoing previous run if the job is re-triggered
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