Skip to content

Commit

Permalink
Add conditionals to git invokes
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR authored Apr 27, 2020
1 parent 03be8b9 commit 26650e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 26650e4

Please sign in to comment.