Move generated screenshots to orphane media branch
This commit is contained in:
17
.github/workflows/generate-screenshots.yml
vendored
17
.github/workflows/generate-screenshots.yml
vendored
@@ -21,11 +21,12 @@ jobs:
|
|||||||
xvfb-run glxinfo
|
xvfb-run glxinfo
|
||||||
- name: Collect screenshots
|
- name: Collect screenshots
|
||||||
run: ./gradlew collectScreenshots
|
run: ./gradlew collectScreenshots
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4.1.5
|
- name: Prepare media branch
|
||||||
with:
|
run: |
|
||||||
commit_message: Add generated screenshots
|
git config --global user.email "actions@openrndr.org"
|
||||||
file_pattern: "**/*.png"
|
git config --global user.name "OPENRNDR Actions"
|
||||||
repository: .
|
git reset HEAD -- .
|
||||||
commit_user_name: edwinRNDR
|
git checkout --orphan media
|
||||||
commit_user_email: edwin@rndr.studio
|
git add [a-z-]/images/*.png
|
||||||
commit_author: edwinRNDR <edwin@rndr.studio>
|
git commit -m "auto generated media"
|
||||||
|
git push -f origin media
|
||||||
|
|||||||
Reference in New Issue
Block a user