Skip to content

github pages deploy fails but no error #79

@litlfred

Description

@litlfred

see below for build log. no apparent errors, but the build failed.

un JamesIves/github-pages-deploy-action@v4.4.2
with:
token: ***
branch: gh-pages
folder: ./output
commit-message: Deploy main branch
single-commit: true
clean-exclude: branches
sitepreview

clean: true
force: true

env:
GITHUB_TOKEN: ***
BRANCH_NAME: main
IS_DEFAULT_BRANCH: true
DEPLOY_URL: https://worldhealthorganization.github.io/smart-base
╭━━━╮╭╮╭╮╱╭╮╱╱╭╮╱╱╭━━━╮
┃╭━╮┣╯╰┫┃╱┃┃╱╱┃┃╱╱┃╭━╮┃
┃┃╱╰╋╮╭┫╰━╯┣╮╭┫╰━╮┃╰━╯┣━━┳━━┳━━┳━━╮
┃┃╭━╋┫┃┃╭━╮┃┃┃┃╭╮┃┃╭━━┫╭╮┃╭╮┃┃━┫━━┫
┃╰┻━┃┃╰┫┃╱┃┃╰╯┃╰╯┃┃┃╱╱┃╭╮┃╰╯┃┃━╋━━┃
╰━━━┻┻━┻╯╱╰┻━━┻━━╯╰╯╱╱╰╯╰┻━╮┣━━┻━━╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
╭━━━╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭━━━╮╱╱╭╮
╰╮╭╮┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃╭━╮┃╱╭╯╰╮
╱┃┃┃┣━━┳━━┫┃╭━━┳╮╱╭╮┃┃╱┃┣━┻╮╭╋┳━━┳━╮
╱┃┃┃┃┃━┫╭╮┃┃┃╭╮┃┃╱┃┃┃╰━╯┃╭━┫┃┣┫╭╮┃╭╮╮
╭╯╰╯┃┃━┫╰╯┃╰┫╰╯┃╰━╯┃┃╭━╮┃╰━┫╰┫┃╰╯┃┃┃┃
╰━━━┻━━┫╭━┻━┻━━┻━╮╭╯╰╯╱╰┻━━┻━┻┻━━┻╯╰╯
╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╰╯╱╱╱╱╱╱╰━━╯

💖 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 --global --add safe.directory /home/runner/work/smart-base/smart-base
/usr/bin/git config user.name litlfred
/usr/bin/git config user.email litlfred@gmail.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/WorldHealthOrganization/smart-base.git
Git configured… 🔧
Starting to commit changes…
/usr/bin/git ls-remote --heads ***github.com/WorldHealthOrganization/smart-base.git refs/heads/gh-pages
6cf8932 refs/heads/gh-pages
Creating worktree…
/usr/bin/git fetch --no-recurse-submodules --depth=1 origin gh-pages
From https://github.com/WorldHealthOrganization/smart-base

  • 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 ea821e7)
    /usr/bin/git checkout --orphan gh-pages origin/gh-pages
    Previous HEAD position was ea821e7 Merge pull request Fix GitHub Pages deployment workflow by properly detecting remote gh-pages branch #78 from WorldHealthOrganization/copilot/fix-77
    Switched to a new branch 'gh-pages'
    /usr/bin/chmod -R +rw /home/runner/work/smart-base/smart-base/output
    /usr/bin/rsync -q -av --checksum --progress /home/runner/work/smart-base/smart-base/output/. github-pages-deploy-action-temp-deployment-folder --delete --exclude branches --exclude sitepreview --exclude CNAME --exclude .nojekyll --exclude .ssh --exclude .git --exclude .github
    /usr/bin/git add --all .
    Checking if there are files to commit…
    /usr/bin/git add --all .
    /usr/bin/git checkout -b github-pages-deploy-action/vmfzt9rsp
    Switched to a new branch 'github-pages-deploy-action/vmfzt9rsp'
    /usr/bin/git commit -m Deploy main branch --quiet --no-verify
    Force-pushing changes...
    /usr/bin/git push --force ***github.com/WorldHealthOrganization/smart-base.git github-pages-deploy-action/vmfzt9rsp:gh-pages
    remote: Permission to WorldHealthOrganization/smart-base.git denied to github-actions[bot].
    fatal: unable to access 'https://github.com/WorldHealthOrganization/smart-base.git/': The requested URL returned error: 403
    Running post deployment cleanup jobs… 🗑️
    /usr/bin/git checkout -B github-pages-deploy-action/vmfzt9rsp
    Reset branch 'github-pages-deploy-action/vmfzt9rsp'
    /usr/bin/chmod -R +rw github-pages-deploy-action-temp-deployment-folder
    /usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions