Skip to content

ci: deploy docs in a separate job - #3267

Open
B4nan wants to merge 1 commit into
masterfrom
ci/docs-deploy-separate-job
Open

B4nan wants to merge 1 commit into
masterfrom
ci/docs-deploy-separate-job

Conversation

@B4nan

@B4nan B4nan commented Nov 24, 2026

Copy link
Copy Markdown
Member

The docs deploy can fail with No artifacts named "github-pages" were found, even though the upload right before it succeeded. deploy-pages lists the run's artifacts about 0.3s after the upload is finalized and sometimes gets nothing back (seen in https://github.com/mikro-orm/mikro-orm/actions/runs/45341523194/job/138266058239).

This moves the deploy into its own job that depends on the build, same layout as in apify-sdk-js and apify-cli. The github-pages environment and the Pages permissions move with it, and the build job goes down to contents: read.

The deploy step lists the run artifacts right after the upload is finalized and intermittently gets none back, failing the docs workflow.
@B4nan B4nan added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Nov 24, 2026
@B4nan
B4nan requested a review from barjin November 24, 2026 07:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants