generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Labels
automationThis item relates to automationThis item relates to automationcompletedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentationImprovements or additions to documentationinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Milestone
Description
Bug description
If there are several versions pushed to main at the same time, only one of them will succeed to publish doc.
This is because the checked-out version of gh-pages has already been outdated. (As it just got updated by another action) Thus, the command mike deploy --push --update-aliases "$VERSION" "$ALIAS" fails to push.
As a result, some version of the doc will be missing.
Expected Behavior
Multiple actions running around the same time should all work
Current Behavior
If multiple actions running around the same time, only the first one that push the new version of documentation will work.
Possible Solution
- Run
git pullright beforemike deploy.... But this will only reduce the window that this issue could happen - Release manually instead of every time there's a merge in
mainto ensure that there is only 1on-releaseaction running at a time.
Steps to Reproduce
- Make an empty commit
- Push
- Make an empty commit
- Push again
Environment
N/A
Related issues, RFCs
N/A
Metadata
Metadata
Assignees
Labels
automationThis item relates to automationThis item relates to automationcompletedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentationImprovements or additions to documentationinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
