Add git reset after orphan checkout
This commit is contained in:
2
.github/workflows/generate-screenshots.yml
vendored
2
.github/workflows/generate-screenshots.yml
vendored
@@ -24,8 +24,8 @@ jobs:
|
||||
run: |
|
||||
git config --global user.email "actions@openrndr.org"
|
||||
git config --global user.name "OPENRNDR Actions"
|
||||
git reset HEAD -- .
|
||||
git checkout --orphan media
|
||||
git reset HEAD -- .
|
||||
git add [a-z-]*/images/*.png
|
||||
git commit -m "auto generated media"
|
||||
git push -f origin media
|
||||
|
||||
Reference in New Issue
Block a user