Skip to content

Prevent Pages deploy timeout by stopping preview retention in live gh-pages deploy - #6

Merged
jxchen01 merged 2 commits into
mainfrom
copilot/fix-deploy-github-actions-job
Nov 9, 2026
Merged

jxchen01 merged 2 commits into
mainfrom
copilot/fix-deploy-github-actions-job

Conversation

Copilot AI commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

STOP!!!

You are about to open this pull request against THE TEMPLATE ITSELF. You probably meant to open it against your own website repo.


FOR THE TEMPLATE MAINTAINER(S)

New template version checklist:

  • I have updated CITATION and CHANGELOG as appropriate.
  • I have updated lab-website-template-docs as appropriate.
  • I have checked the testbed as appropriate.

The pages build and deployment run failed because the Pages deploy job remained in syncing_files until timeout. This change reduces deploy payload churn by no longer preserving the preview subtree during live site deploys to gh-pages.

  • Root cause

    • Live deploy workflow retained preview/ via clean-exclude, causing gh-pages to accumulate content and increasing Pages sync time.
  • Change

    • Updated .github/workflows/build-site.yaml to remove preview retention from JamesIves/github-pages-deploy-action configuration.
  • Workflow diff (minimal)

    -      clean-exclude: ${{ env.PREVIEWS_FOLDER }}
           force: false
  • Expected effect

    • gh-pages live deploys are cleaned consistently, reducing risk of deploy-pages timeout in syncing_files.

Co-authored-by: jxchen01 <7811075+jxchen01@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job deploy Prevent Pages deploy timeout by stopping preview retention in live gh-pages deploy Nov 9, 2026
Copilot AI requested a review from jxchen01 November 9, 2026 21:55
@jxchen01
jxchen01 marked this pull request as ready for review November 9, 2026 21:55
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
PR Preview Action v1.4.7
🚀 Deployed preview to https://MMV-Lab.github.io/mmv-lab.github.io/preview/pr-6/
on branch gh-pages at 2026-11-09 21:56 UTC

@jxchen01
jxchen01 merged commit 09ef884 into main Nov 9, 2026
4 checks passed
@jxchen01
jxchen01 deleted the copilot/fix-deploy-github-actions-job branch November 9, 2026 21:57
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