Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/patchthis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ jobs:
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url || steps.deployment_retry.outputs.page_url }}
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -237,6 +237,18 @@ jobs:
uses: actions/upload-pages-artifact@v5
with:
path: 'web'
# deploy-pages intermittently fails with "Fetching artifact metadata failed"
# even after a successful upload. Retry once after a short wait.
- name: Deploy to GitHub Pages
id: deployment
continue-on-error: true
uses: actions/deploy-pages@v5

- name: Wait before retrying deploy
if: steps.deployment.outcome == 'failure'
run: sleep 60

- name: Deploy to GitHub Pages (retry)
id: deployment_retry
if: steps.deployment.outcome == 'failure'
uses: actions/deploy-pages@v5