Skip to content

Commit

Permalink
Move generated screenshots to orphane media branch
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR authored Apr 27, 2020
1 parent 1056eac commit 08ffae0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
xvfb-run glxinfo
- name: Collect screenshots
run: ./gradlew collectScreenshots
- uses: stefanzweifel/git-auto-commit-action@v4.1.5
with:
commit_message: Add generated screenshots
file_pattern: "**/*.png"
repository: .
commit_user_name: edwinRNDR
commit_user_email: edwin@rndr.studio
commit_author: edwinRNDR <edwin@rndr.studio>
- name: Prepare media branch
run: |
git config --global user.email "actions@openrndr.org"
git config --global user.name "OPENRNDR Actions"
git reset HEAD -- .
git checkout --orphan media
git add [a-z-]/images/*.png
git commit -m "auto generated media"
git push -f origin media

0 comments on commit 08ffae0

Please sign in to comment.