Skip to content

chore: build playground before deploying to github pages#100

Merged
lukascivil merged 1 commit into
masterfrom
chore/adjust-release-build
Apr 24, 2026
Merged

chore: build playground before deploying to github pages#100
lukascivil merged 1 commit into
masterfrom
chore/adjust-release-build

Conversation

@lukascivil
Copy link
Copy Markdown
Owner

@lukascivil lukascivil commented Apr 24, 2026

Objective

Ensure the playground's production bundle is built before the GitHub Pages deploy step runs, so the deployed site reflects the current release instead of stale or missing build output.

What was done

  • Added a Build Playground step in .github/workflows/release-and-publish.yml that runs yarn nx run-many --target=build --projects=playground immediately before the Deploy Playground to Github Pages step.
  • Gated the new step with if: github.event.inputs.dry_run != 'true', mirroring the existing deploy step so dry-run executions still skip both build and deploy.

Test plan

  • Trigger the release-and-publish workflow with dry_run=true and confirm the new Build Playground step is skipped along with the deploy step.
  • Trigger the workflow with dry_run=false and confirm the Build Playground step runs successfully and produces the artifact consumed by the deploy step.
  • Verify the GitHub Pages site is updated with the latest playground build after the run.

@lukascivil lukascivil self-assigned this Apr 24, 2026
@lukascivil lukascivil changed the title Update release-and-publish.yml ci: build playground before deploying to github pages Apr 24, 2026
@lukascivil lukascivil changed the title ci: build playground before deploying to github pages chore: build playground before deploying to github pages Apr 24, 2026
@lukascivil lukascivil merged commit f3b07b6 into master Apr 24, 2026
4 checks passed
@lukascivil lukascivil deleted the chore/adjust-release-build branch April 24, 2026 17:20
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