Closed zkamvar closed 1 year ago
I believe the token needs to be updated, but really I think we need to just avoid these actions that do what we can do in the action directly.
From https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910
Run JamesIves/github-pages-deploy-action@4.1.5 with: branch: site folder: _gh-site token: *** clean: true GitHub Pages Deploy Action 🚀 🚀 Getting Started Guide: https://github.com/marketplace/actions/deploy-to-github-pages ❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions 🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues 📣 Maintained by James Ives: https://jamesiv.es 💖 Support: https://github.com/sponsors/JamesIves Checking configuration and starting deployment… 🚦 Deploying using Deploy Token… 🔑 Configuring git… /usr/bin/git config user.name nicoguaro /usr/bin/git config user.email nicoguarin@gmail.com /usr/bin/git config --local --unset-all http.https://github.com/.extraheader Unable to unset previous git config authentication as it may not exist, continuing… /usr/bin/git remote rm origin /usr/bin/git remote add origin ***github.com/carpentries/glosario.git Git configured… 🔧 Starting to commit changes… /usr/bin/git ls-remote --heads ***github.com/carpentries/glosario.git refs/heads/site 30a93cb8d95f7c638e0606e4[2](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:2)ea2d[3](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:3)[4](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:4)062edb88[5](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:5) refs/heads/site Creating worktree… /usr/bin/git fetch --no-recurse-submodules --depth=1 origin site From https://github.com/carpentries/glosario * branch site -> FETCH_HEAD * [new branch] site -> origin/site /usr/bin/git worktree add --no-checkout --detach github-pages-deploy-action-temp-deployment-folder Preparing worktree (detached HEAD [6](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:6)04f119) /usr/bin/git checkout -B site origin/site Previous HEAD position was 604f119 Merge pull request #526 from kamapu/miguel-alvarez Switched to a new branch 'site' branch 'site' set up to track 'origin/site'. /usr/bin/rsync -q -av --checksum --progress /home/runner/work/glosario/glosario/_gh-site/. 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/cw9ltvgde Switched to a new branch 'github-pages-deploy-action/cw9ltvgde' /usr/bin/git commit -m Deploying to site from @ carpentries/glosario@604f119488[7](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:8)1e6095eca3c3a4332a7f5a7724a2f 🚀 --quiet --no-verify /usr/bin/git push --force ***github.com/carpentries/glosario.git github-pages-deploy-action/cw9ltvgde:site remote: Permission to carpentries/glosario.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/carpentries/glosario.git/': The requested URL returned error: 403 Running post deployment cleanup jobs… 🗑️ /usr/bin/git checkout -B github-pages-deploy-action/cw9ltvgde Reset branch 'github-pages-deploy-action/cw9ltvgde' /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 12[8](https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910#step:6:9) ❌ Deployment failed! ❌
Update: I still do not know exactly why this was failing, but this also coincided with failures on the Netlify end, where I had to reset the token.
I believe the token needs to be updated, but really I think we need to just avoid these actions that do what we can do in the action directly.
From https://github.com/carpentries/glosario/actions/runs/3278386716/jobs/5396715910