Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e9b3bf8f0 | ||
|
|
a7a4ff3aef | ||
|
|
484dfc4911 |
1 changed files with 6 additions and 0 deletions
6
.github/workflows/quartz-pages.yml
vendored
6
.github/workflows/quartz-pages.yml
vendored
|
|
@ -33,7 +33,11 @@ jobs:
|
||||||
repository: GameCult/GameCult-Quartz
|
repository: GameCult/GameCult-Quartz
|
||||||
path: 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
|
- name: Configure Pages
|
||||||
|
if: github.server_url == 'https://github.com'
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v5
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
|
|
@ -56,11 +60,13 @@ jobs:
|
||||||
--outputDir "${{ inputs.output-dir }}"
|
--outputDir "${{ inputs.output-dir }}"
|
||||||
|
|
||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
|
if: github.server_url == 'https://github.com'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.output-dir }}
|
path: ${{ inputs.output-dir }}
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.server_url == 'https://github.com'
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue