Repository navigation
Nightly sites: always commit history, so each run deploys with a new sha - #3067
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Free-form text area
The 2026-11-07 McStas nightly deploy reported success in 7 seconds, but the site still served 2026-11-06 (https://github.com/mccode-dev/mcstas-nightly/actions/runs/42354978546).
deploy-pagesusesGITHUB_SHAas the Pages deployment id, and a nightly run'sGITHUB_SHAis the nightly repo's latest commit when it starts. A redeploy that changed no history made no commit, so the next night started from the same commit as an already-successful deployment.deploy-pagesthen read that old deployment's status and reported success without the new upload being published.The history step now always commits (
--allow-empty), so every run's successor starts from a new commit.Declaration of use of AI-tools
Development OS / boundary conditions
Edited on macOS. No new dependencies. The workflow change has not run on GitHub yet.
PR Checklist for contributing to McStas/McXtrace
My contribution contains something else
🤖 Generated with Claude Code