cd /news/developer-tools/working-around-no-artifacts-named-gi… · home › topics › developer-tools › article
[ARTICLE · art-176383] src=jvt.me ↗ pub= topic=developer-tools verified=true sentiment=↓ negative

Working around `No artifacts named "github-pages" were found for this workflow run.` in GitHub Actions

A GitHub Actions bug reported in actions/deploy-pages issue #451 causes deployments to GitHub Pages to fail with 'No artifacts named "github-pages" were found for this workflow run' even immediately after upload, accounting for 19 of 28 failed builds on Renovate's main branch over the past two weeks. Renovate maintainer Jamie Magee worked around the bug with Claude Sonnet 5.5 by retrying only the deploy step — using actions/deploy-pages v5.0.1 with continue-on-error and sleeps of 5, 20 and 60 seconds between attempts — after earlier loops checking the artifact_id or github-pages artifact name failed because deploy-pages looks up artifacts through different APIs than the REST API. A fix is pending in actions/deploy-pages pull request #455.

recommendation

Wrap the deploy-pages step in continue-on-error with retries after 5, 20 and 60 second sleeps, and never re-run the upload, which causes the artifact lookup to fail on duplicates.

more in playbook: Running AI in production
read2 min views1 publishedNov 25, 2026

For over a month, there's been a report of a bug in how GitHub Actions deploys to GitHub Pages, where - even if you literally just uploaded it, GitHub Actions tells you:

Found 19 artifact(s)
Error: Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.
Error: Error: No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.

If you can't tell, this has been fairly frustrating to me this week. In the last two weeks, this has contributed 19/28 of our failed builds on Renovate's main branch, and has been a noisy issue that's also led to our docs site being out-of-date for a number of hours at a time.

I set Claude Sonnet 5.5 on it (because it's late and I'm grumpy) and after a few attempts, we've come to the following hacky solution:

permissions:
 pages: write
 id-token: write

steps:

 - name: Upload GitHub Pages artifact
 id: upload
 uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
 with:
 path: tools/mkdocs/site

 - name: Deploy to GitHub Pages
 id: deployment
 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
 continue-on-error: true

 - name: Wait before retrying deploy to GitHub Pages
 if: steps.deployment.outcome == 'failure'
 run: sleep 5

 - name: Deploy to GitHub Pages (retry 1)
 id: deployment_retry_1
 if: steps.deployment.outcome == 'failure'
 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
 continue-on-error: true

 - name: Wait before retrying deploy to GitHub Pages
 if: steps.deployment_retry_1.outcome == 'failure'
 run: sleep 20

 - name: Deploy to GitHub Pages (retry 2)
 id: deployment_retry_2
 if: steps.deployment_retry_1.outcome == 'failure'
 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
 continue-on-error: true

 - name: Wait before retrying deploy to GitHub Pages
 if: steps.deployment_retry_2.outcome == 'failure'
 run: sleep 60

 - name: Deploy to GitHub Pages (retry 3)
 id: deployment_retry_3
 if: steps.deployment_retry_2.outcome == 'failure'
 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

I'd originally started by adding a loop to see if the artifact existed by the artifact_id or for the github-pages artifact name, but it looks like the way that actions/deploy-pages looks up the artifact is using different APIs than the REST API, so they're out-of-sync.

Instead, adding a bit of a wait between deploy attempts seems to work.

I'm hoping someone at GitHub picks up a fix for this soon - given the number of PRs you can see in the activity feed on the issue, it's causing quite a bit of impact across GitHub users right now.

── more in #developer-tools 4 stories · sorted by recency
── more on @github actions 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/working-around-no-ar…] indexed:0 read:2min 2026-11-25 · —