Repository navigation
Let the docs workflow run by hand to repeat a failed deploy - #46
Merged
Merged
Conversation
A Pages deploy that fails on the GitHub side can now run again from the Actions tab without a new push to main. The deploy job runs only on main or master, so a manual run on another branch is skipped and deploys nothing.
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.
Description
The docs deploy for the merge of #45 failed in
actions/deploy-pages: the GitHub artifact API answered "Failed to ListArtifacts ... (404) Not Found: check suite does not exist" (https://github.com/FormingWorlds/ZEPHYRUS/actions/runs/42831745851). The build in the same job passed. A re-run of the failed job then failed with "Multiple artifacts named github-pages were unexpectedly found for this workflow run", because the re-run uploads a second artifact into the same run. The workflow runs only on a push to main or master, so the live page still shows the value from before #45 (14.67 on https://proteus-framework.org/ZEPHYRUS/Reference/parameters.html) until the next merge.This PR adds
workflow_dispatchto.github/workflows/docs.yaml, so a failed deploy can run again as a new run with one artifact. Thedeployjob now runs only formainandmaster, the branches of the push trigger, so a manual run on another branch builds and deploys nothing. Nothing else changes. The merge of this PR runs the deploy once more.Validation of changes
push(main, master) andworkflow_dispatch, and the guard on the singledeployjob. Read with a YAML parser, and checked with actionlint 1.7.12: rc 0, and a misspeltgithub.reffin the guard is flagged.Lines from
git diff --numstatand sizes fromgit ls-tree -l, base d2b1475 to tip c1e6d12:Checklist
Relevant people