Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs in automated deployment #1191

Closed
IntelligentInteractiveLab opened this issue Feb 16, 2023 · 2 comments
Closed

Bugs in automated deployment #1191

IntelligentInteractiveLab opened this issue Feb 16, 2023 · 2 comments
Labels

Comments

@IntelligentInteractiveLab

Acknowledge the following

  • [√] I carefully read and followed the Getting Started guide.
  • [√ ] I read through FAQ and searched through the past issues, none of which addressed my issue.
  • [√] The issue I am raising is a potential bug in al-folio and not just a usage question.
    [For usage questions, please post in the Discussions instead of raising an issue.]

Describe the bug
When I try to push my code to have GitHub deploy automatically, it tells me the following error message:

remote: Permission to IntelligentInteractiveLab/intelligentinteractivelab.github.io.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/IntelligentInteractiveLab/intelligentinteractivelab.github.io/': The requested URL returned error: 403
yes: standard output: Broken pipe
Error: Process completed with exit code 128.

In addition, I added the Fix permission code to deploy.yml using the YouTube tutorial video you provided:

    - name: Fix Permission
      run: |
        chmod a+x bin/*
        git commit -am "add execute permission to bin/deploy"

But the error message became:

Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Error: Process completed with exit code 1.

When I delete the following code in fix permission:

 git commit -am "add execute permission to bin/deploy"

The error message says I need to complete the commit before deployment:

Please commit the changes before proceeding.
Aborting.
yes: standard output: Broken pipe
Error: Process completed with exit code 1.

This phenomenon confused me and I wondered how to fix it. Thanks.

Note: I can implement website deployment with manual deployment, only add Fix permission for the first time during manual deployment, and delete Fixpermission in subsequent manual deployments. But this is significantly less convenient than automated deployment.

Expected behavior

I was wondering how to fix this confusing bug !!!

@ColeFeely6
Copy link

I believe you have to look at the permissions in settings. I may have ran into this issue when first starting, try this out. Look up your error # and github pages and see if you find anything else JamesIves/github-pages-deploy-action#1110

@IntelligentInteractiveLab
Copy link
Author

Well, maybe I ignore that.But for now, I have solved this issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants