Skip to content

[Demo] Deploy the demo in a job of its own - #423

Merged
loic425 merged 1 commit into
Sylius:mainfrom
loic425:fix/demo-deploy-job
Nov 25, 2026
Merged

loic425 merged 1 commit into
Sylius:mainfrom
loic425:fix/demo-deploy-job

Conversation

@loic425

@loic425 loic425 commented Nov 25, 2026

Copy link
Copy Markdown
Member

The Demo workflow added in #420 builds and checks the demo on main, then fails at the last step: deploy-pages reports "Found 0 artifact(s)" right after upload-pages-artifact uploaded github-pages (see this run). So https://sylius.github.io/Stack/ is still not published.

The build exposes the runtime token of GitHub Actions to all its following steps (crazy-max/ghaction-github-runtime, needed for the buildx cache), and deploy-pages lists the artifacts with that token in the same job.

→ The workflow is split into a build job and a deploy job (needs: build) that only runs deploy-pages, as in GitHub's Pages starter workflow, with a clean environment.

Tried on my fork: both jobs pass. The fork already deployed with one job, though, so the proof for this repository is the first run on main after the merge.

BC: none, only the Demo workflow changes.

The build exports the runtime token of GitHub Actions to its steps, for the
cache of buildx: deploy-pages, in the same job, then finds no artifact on
Sylius/Stack. A job of its own, as in GitHub's starter workflow.
@loic425
loic425 merged commit a8744a8 into Sylius:main Nov 25, 2026
36 checks passed
@loic425
loic425 deleted the fix/demo-deploy-job branch November 25, 2026 10:08
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