quartz-pages: Pages steps and deploy job run only on the GitHub mirror
Some checks failed
Engine CI / build-and-test (docker) (pull_request) Has been cancelled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Void 2026-11-09 22:53:19 +00:00
commit 484dfc4911

View file

@ -33,7 +33,11 @@ jobs:
repository: GameCult/GameCult-Quartz
path: GameCult-Quartz
# Pages actions exist only on GitHub: the forge runner resolves actions
# from data.forgejo.org, which has no actions/configure-pages, so the job
# failed there. Build always; touch Pages only on the GitHub mirror.
- name: Configure Pages
if: github.server_url == 'https://github.com'
uses: actions/configure-pages@v5
- name: Setup Node
@ -56,11 +60,13 @@ jobs:
--outputDir "${{ inputs.output-dir }}"
- name: Upload Pages artifact
if: github.server_url == 'https://github.com'
uses: actions/upload-pages-artifact@v3
with:
path: ${{ inputs.output-dir }}
deploy:
if: github.server_url == 'https://github.com'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}