Skip to content

Fix documentation workflow always trying to commit #2#21254

Merged
penev92 merged 1 commit intoOpenRA:bleedfrom
penev92:fixDocumentationWorkflow3
Dec 13, 2023
Merged

Fix documentation workflow always trying to commit #2#21254
penev92 merged 1 commit intoOpenRA:bleedfrom
penev92:fixDocumentationWorkflow3

Conversation

@penev92
Copy link
Copy Markdown
Member

@penev92 penev92 commented Dec 13, 2023

A continuation of #21232.
Will hopefully fix https://github.com/OpenRA/OpenRA/actions/runs/7187570268

I know adding git status makes no sense, but a bunch of experimenting with @tinix0 on Discord and my fork showed this magically makes it work, so 🤷‍♂️
with nothing to commit: https://github.com/penev92/OpenRA/actions/runs/7200288884
with something to commit: https://github.com/penev92/OpenRA/actions/runs/7200308019

Don't try to commit and push if there is nothing to commit, because git will exit with 1, failing the workflow.
A continuation of ca6b87d.
@penev92 penev92 merged commit 02d31a2 into OpenRA:bleed Dec 13, 2023
@penev92 penev92 deleted the fixDocumentationWorkflow3 branch December 13, 2023 21:13
@penev92
Copy link
Copy Markdown
Member Author

penev92 commented Dec 13, 2023

Changelog

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