From 81cebb8d0ae008fbadb1f1a78f7981346c903595 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Mon, 27 Apr 2020 16:22:20 +0200 Subject: [PATCH] Add action to commit README.md files to master --- .github/workflows/generate-screenshots.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-screenshots.yml b/.github/workflows/generate-screenshots.yml index d951e8fda..c81bdeabc 100644 --- a/.github/workflows/generate-screenshots.yml +++ b/.github/workflows/generate-screenshots.yml @@ -24,8 +24,12 @@ jobs: run: | 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 checkout --orphan media git reset HEAD -- . git add [a-z-]*/images/*.png - git commit -m "auto generated media" - git push -f origin media + git commit -m "add auto-generated media" + git push -f origin media \ No newline at end of file