Add conditionals to git invokes
This commit is contained in:
6
.github/workflows/generate-screenshots.yml
vendored
6
.github/workflows/generate-screenshots.yml
vendored
@@ -25,11 +25,9 @@ jobs:
|
||||
git config --global user.email "actions@openrndr.org"
|
||||
git config --global user.name "OPENRNDR Actions"
|
||||
git reset HEAD -- .
|
||||
git add [a-z-]*/README.md
|
||||
git commit -m "add demos to README.md"
|
||||
git push origin master
|
||||
(git add [a-z-]*/README.md && git commit -m "add demos to README.md" && git push origin master) || true
|
||||
git checkout --orphan media
|
||||
git reset HEAD -- .
|
||||
git add [a-z-]*/images/*.png
|
||||
git commit -m "add auto-generated media"
|
||||
git push -f origin media
|
||||
git push -f origin media
|
||||
|
||||
Reference in New Issue
Block a user