Skip to content

deploy: build and deploy as separate jobs - #96

Merged
lmoresi merged 1 commit into
mainfrom
fix/deploy-separate-jobs
Nov 24, 2026
Merged

lmoresi merged 1 commit into
mainfrom
fix/deploy-separate-jobs

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

The site deploy failed on both merges to main today (#91, #92) with No artifacts named "github-pages" were found. The artifact had uploaded (185 MB, finalised at 06:02:09.24), and deploy-pages, in the same job, looked it up 0.3 s later. Re-running the failed job then found both attempts' uploads and refused them as duplicates.

This splits the workflow into build (checkout, build, the DOI and asset checks, upload) and deploy (needs: build, deploy-pages only), the layout of GitHub's starter Pages workflow, so the deployment starts only after the upload job has completed. The permissions, the concurrency group and the 600 s deploy timeout are unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HxWvn6feuTGm6LcdQTGTxB

In one job, deploy-pages looked for the Pages artifact 0.3 s after upload-pages-artifact finalised it and found none, failing the #91 and #92 deploys on 2026-11-24; a re-run then found both attempts' uploads and refused them as duplicates. A deploy job that needs the build starts only once the upload is complete and listed, as in GitHub's starter workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HxWvn6feuTGm6LcdQTGTxB
@lmoresi
lmoresi merged commit 79f8746 into main Nov 24, 2026
3 checks passed
lmoresi added a commit that referenced this pull request Nov 24, 2026
…he deploy split (#96)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HxWvn6feuTGm6LcdQTGTxB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant