asmr: pull before rendering so back-to-back runs don't collide
asmr / render (push) Successful in 1m23s
asmr / render (push) Successful in 1m23s
This commit is contained in:
1 parent
c17a45f143
commit
599051c33f
1 file changed
+1
-2
@@ -21,11 +21,10 @@ jobs:
|
||||
- name: ffmpeg
|
||||
run: command -v ffmpeg || (sudo apt-get update -qq && sudo apt-get install -y -qq ffmpeg) || (apt-get update -qq && apt-get install -y -qq ffmpeg)
|
||||
- name: render
|
||||
run: python3 tools/asmr.py
|
||||
run: git pull -q origin main && python3 tools/asmr.py
|
||||
- name: commit
|
||||
run: |
|
||||
set -eu
|
||||
git pull -q --rebase origin main || true
|
||||
git add asmr/audio
|
||||
if git diff --cached --quiet; then echo "nothing new"; exit 0; fi
|
||||
git -c user.name='gitea-actions[bot]' -c user.email='gitea-actions[bot]@users.noreply.teahub.xyz' commit -q -m "asmr: renders"
|
||||
|
||||
Reference in new issue
Block a user