Add action to commit README.md files to master

This commit is contained in:
Edwin Jakobs
2020-04-27 16:22:20 +02:00
parent eb93baf7c8
commit 81cebb8d0a

View File

@@ -24,8 +24,12 @@ jobs:
run: | run: |
git config --global user.email "actions@openrndr.org" git config --global user.email "actions@openrndr.org"
git config --global user.name "OPENRNDR Actions" 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 checkout --orphan media git checkout --orphan media
git reset HEAD -- . git reset HEAD -- .
git add [a-z-]*/images/*.png git add [a-z-]*/images/*.png
git commit -m "auto generated media" git commit -m "add auto-generated media"
git push -f origin media git push -f origin media