Replies: 1 comment 1 reply
-
|
Can you try version 4.3.2? I'm wondering if this has been resolved for you as there's been a few changes to the permissions. This is a bit of an obscure error, I'm wondering if the way something before the deployment jobs happening is modifying the permissions of your build folder in an obscure way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there :-)
Somehow, I was able to deploy a first version of my docs I wanted to deploy with this action. Since this first deployment, I receive the following error message:
error: insufficient permission for adding an object to repository database /home/runner/work/rust-translator/rust-translator/.git/objects. I cannot see what is going wrong and I'm out of ideas.There are two specific runs
They result in more or less the same errors:
Log
Run JamesIves/github-pages-deploy-action@v4.3.0 with: branch: gh-pages folder: target/doc token: *** clean: true force: true env: VERSION: 1.0.[2](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:2) ╭━━━╮╭╮╭╮╱╭╮╱╱╭╮╱╱╭━━━╮ ┃╭━╮┣╯╰┫┃╱┃┃╱╱┃┃╱╱┃╭━╮┃ ┃┃╱╰╋╮╭┫╰━╯┣╮╭┫╰━╮┃╰━╯┣━━┳━━┳━━┳━━╮ ┃┃╭━╋┫┃┃╭━╮┃┃┃┃╭╮┃┃╭━━┫╭╮┃╭╮┃┃━┫━━┫ ┃╰┻━┃┃╰┫┃╱┃┃╰╯┃╰╯┃┃┃╱╱┃╭╮┃╰╯┃┃━╋━━┃ ╰━━━┻┻━┻╯╱╰┻━━┻━━╯╰╯╱╱╰╯╰┻━╮┣━━┻━━╯ ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃ ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯ ╭━━━╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭━━━╮╱╱╭╮ ╰╮╭╮┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃╭━╮┃╱╭╯╰╮ ╱┃┃┃┣━━┳━━┫┃╭━━┳╮╱╭╮┃┃╱┃┣━┻╮╭╋┳━━┳━╮ ╱┃┃┃┃┃━┫╭╮┃┃┃╭╮┃┃╱┃┃┃╰━╯┃╭━┫┃┣┫╭╮┃╭╮╮ ╭╯╰╯┃┃━┫╰╯┃╰┫╰╯┃╰━╯┃┃╭━╮┃╰━┫╰┫┃╰╯┃┃┃┃ ╰━━━┻━━┫╭━┻━┻━━┻━╮╭╯╰╯╱╰┻━━┻━┻┻━━┻╯╰╯ ╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╭━╯┃ ╱╱╱╱╱╱╱╰╯╱╱╱╱╱╱╰━━╯ 💖 Support: https://github.com/sponsors/JamesIves 📣 Maintained by James Ives: https://jamesiv.es 🚀 Getting Started Guide: https://github.com/JamesIves/github-pages-deploy-action ❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions 🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues Checking configuration and starting deployment… 🚦 Deploying using Deploy Token… 🔑 Configuring git… /usr/bin/git config user.name buehler /usr/bin/git config user.email buehler@users.noreply.github.com /usr/bin/git config core.ignorecase false /usr/bin/git config --local --unset-all http.https://github.com/.extraheader /usr/bin/git remote rm origin /usr/bin/git remote add origin ***github.com/WirePact/rust-translator.git Git configured… 🔧 Starting to commit changes… /usr/bin/git ls-remote --heads ***github.com/WirePact/rust-translator.git refs/heads/gh-pages 75754ba4[3](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:3)178eb9f7e2690[4](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:4)3a8e9f6c62d73[5](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:5)f53 refs/heads/gh-pages Creating worktree… /usr/bin/git fetch --no-recurse-submodules --depth=1 origin gh-pages From https://github.com/WirePact/rust-translator * branch gh-pages -> FETCH_HEAD * [new branch] gh-pages -> origin/gh-pages /usr/bin/git worktree add --no-checkout --detach github-pages-deploy-action-temp-deployment-folder Preparing worktree (detached HEAD 01b54bb) /usr/bin/git checkout -B gh-pages origin/gh-pages Previous HEAD position was 01b54bb chore: remove non used token Switched to a new branch 'gh-pages' branch 'gh-pages' set up to track 'origin/gh-pages'. /usr/bin/rsync -q -av --checksum --progress /home/runner/work/rust-translator/rust-translator/target/doc/. github-pages-deploy-action-temp-deployment-folder --delete --exclude CNAME --exclude .nojekyll --exclude .ssh --exclude .git --exclude .github Checking if there are files to commit… /usr/bin/git add --all . /usr/bin/git checkout -b github-pages-deploy-action/aqmjw4j7y Switched to a new branch 'github-pages-deploy-action/aqmjw4j7y' /usr/bin/git commit -m Deploying to gh-pages from @ WirePact/rust-translator@01b54bb2888deeca[6](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:6)3[7](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:7)a1714214[8](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:8)0bb0[9](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:9)567[10](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:10)f2 🚀 --quiet --no-verify error: insufficient permission for adding an object to repository database /home/runner/work/rust-translator/rust-translator/.git/objects Error: error: Error building trees Running post deployment cleanup jobs… 🗑️ /usr/bin/git checkout -B github-pages-deploy-action/aqmjw4j7y Reset branch 'github-pages-deploy-action/aqmjw4j7y' D src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-1eaca4c59c6f7082/out/envoy.config.core.v3.rs.html D src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-1eaca4c59c6f7082/out/envoy.r#type.v3.rs.html D src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-1eaca4c59c6f7082/out/envoy.service.auth.v3.rs.html D src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-1eaca4c59c6f7082/out/wirepact.pki.rs.html A src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-c8c564d49fd9[18](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:18)dc/out/envoy.config.core.v3.rs.html A src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-c8c564d[49](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:49)fd918dc/out/envoy.r#type.v3.rs.html A src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-c8c[56](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:56)4d49fd918dc/out/envoy.service.auth.v3.rs.html A src/wirepact_translator/home/runner/work/rust-translator/rust-translator/target/debug/build/wirepact-translator-c8c5[64](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:64)d49fd918dc/out/wirepact.pki.rs.html M wirepact_translator/index.html M wirepact_translator/struct.CheckRequest.html /usr/bin/chmod -R [77](https://github.com/WirePact/rust-translator/runs/6053897972?check_suite_focus=true#step:10:77)7 github-pages-deploy-action-temp-deployment-folder /usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 ❌ Notice: Deployment failed! ❌Does somebody have an idea what and why went wrong?
Beta Was this translation helpful? Give feedback.
All reactions