Skip to content

fix: ensure bizard-skill.zip is included in gh-pages deployment - #296

Merged
ShixiangWang merged 1 commit into
mainfrom
copilot/check-github-actions-skill-file
May 8, 2026
Merged

fix: ensure bizard-skill.zip is included in gh-pages deployment#296
ShixiangWang merged 1 commit into
mainfrom
copilot/check-github-actions-skill-file

Conversation

Copilot AI commented May 7, 2026

Copy link
Copy Markdown
Contributor

bizard-skill.zip was never reliably landing in the gh-pages branch because the zip was injected into _site/ after babelquarto::render_website() — outside Quarto's render pipeline. quarto publish gh-pages --no-render copies the render output but doesn't guarantee inclusion of post-render manual additions.

Changes

  • _quarto.yml — add bizard-skill.zip to resources so Quarto copies it to _site/ as a first-class render artifact
  • quarto-publish.yml — move zip generation to before babelquarto::render_website(); output to project root (./bizard-skill.zip) instead of _site/
  • quarto-publish-update-cache.yml — same zip generation step added before babelquarto
  • .gitignore — ignore bizard-skill.zip (generated file, not for source control)

Why this works

babelquarto::render_website() copies the entire project root into a temp dir before rendering. Quarto processes resources during render, copying bizard-skill.zip_site/. babelquarto then copies _site/ back to the workspace. quarto publish --no-render deploys this properly-rendered _site/ including the zip.

# _quarto.yml
resources:
  - "files/*.csv"
  - "files/*.json"
  - "bizard-skill.zip"   # ← new

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

✅ QMD Format Check

No new QMD tutorial files to check.

Automated check by the PR Review workflow.
See contribution guidance for the expected tutorial format.

@ShixiangWang
ShixiangWang marked this pull request as ready for review May 8, 2026 04:36
@ShixiangWang
ShixiangWang merged commit 7a10d27 into main May 8, 2026
3 checks passed
@ShixiangWang
ShixiangWang deleted the copilot/check-github-actions-skill-file branch May 8, 2026 04:36
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.

2 participants