[Actions] Make sure to clear the baseline for diffs before publishing - #305
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates several generator GitHub Actions workflows to ensure the “raw baseline” directory used for diffing is cleared/replaced on publish, rather than potentially retaining stale files across runs on gh-pages.
Changes:
- Exclude
master/latest_rawfrom the main./sitepublish step. - Add a second deploy step (non-PR only) to publish
./site/master/latest_rawinto*/master/latest_rawas a full replacement.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/ProxyStubGenerator.yml | Excludes baseline from main deploy and adds a separate baseline deploy step. |
| .github/workflows/PluginSkeletonGenerator.yml | Same baseline exclusion + separate baseline deployment for PluginSkeletonGenerator pages. |
| .github/workflows/LuaGenerator.yml | Same baseline exclusion + separate baseline deployment for LuaGenerator pages. |
| .github/workflows/JsonGenerator.yml | Same baseline exclusion + separate baseline deployment for JsonGenerator pages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Plugin skeleton preview (latest run): No changes detected in generated plugin code. The PR changes are internal to the generator or do not affect output. |
LuaGenerator ResultsNo changes detected. |
ProxyStubGenerator ResultsChanges detected. |
JsonGenerator ResultsChanges detected. |
No description provided.