The shared Quartz workflow publishes with GitHub Pages actions, which fail on the forge runner (AetheriaLore run 791), so each push to main spent a slot of the capacity-1 runner on a doomed build. Gate the caller job on the server URL. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
27 lines
596 B
YAML
27 lines
596 B
YAML
name: Deploy Quartz
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
# The shared workflow publishes through GitHub Pages actions, which fail on
|
|
# the forge's runner (capacity 1). Run it on the GitHub mirror only.
|
|
if: github.server_url == 'https://github.com'
|
|
uses: GameCult/GameCult-Quartz/.github/workflows/quartz-pages.yml@main
|
|
with:
|
|
content-dir: Delvehold
|
|
overlay-dir: site
|
|
output-dir: quartz-site/public
|