diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 35ae18f..0958447 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 @@ -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