Replies: 1 comment
-
This "permission denied" error when running your deploy script on GitHub Actions is usually because your script doesn’t have execute permissions set. Try running this command in your local repo: code snippet:
Then commit and push again. If it’s about tokens or access, double-check permissions on your workflow’s token and secrets.The "permission denied" error happens because your deploy script doesn't have execute permissions on GitHub Actions. Run this command locally: code snippet:
Then commit and push—this sets the proper execute permission so GitHub Actions can run it. If it's still failing, check your workflow token and secrets have enough permissions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
My GitHub Actions workflow runs fine locally but fails on GitHub with permission denied when trying to run a deploy script. How do I fix it?
Beta Was this translation helpful? Give feedback.
All reactions