Skip to content

Commit

Permalink
fix: output branch に push する際に衝突しないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nrysk committed Oct 22, 2024
1 parent 677e663 commit e016c83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Switch and fetch output branch
run: |
git fetch origin output:output
git checkout output
- name: Install dependencies
run: |
wget https://download.blender.org/release/Blender4.2/blender-4.2.3-linux-x64.tar.xz
Expand All @@ -28,10 +33,8 @@ jobs:
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git checkout -b output
git add -f output.png
git commit -m "Add output.png"
git pull --rebase origin output
git push origin output
Expand Down

0 comments on commit e016c83

Please sign in to comment.