Add conditionals to git invokes

This commit is contained in:
Edwin Jakobs
2020-04-27 18:22:31 +02:00
committed by GitHub
parent 03be8b9140
commit 26650e4a42

View File

@@ -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