You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And this issue might as well be related to #26. The only diff though this issue isn't related to Dependabot PRs.
Expected behaviour is for this Action to deploy on each push-event (if configured as such). But it crashes for my project every time with the following error:
Run amondnet/vercel-action@v20 with: vercel-args: --prod github-comment: true github-deployment: false/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:2205 throw new Error(`Input required and not supplied: ${name}`); ^Error: Input required and not supplied: vercel-token at Object.getInput (/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:2205:15) at Object.679 (/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:24158:26) at __webpack_require__ (/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:22:30) at startup (/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:37:19) at /home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:41:18 at Object.<anonymous> (/home/runner/work/_actions/amondnet/vercel-action/v20/dist/index.js:44:10) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14)
And I'm pretty sure the GitHub Secrets are configured correctly. Screenshot attached for reference:
For more reference on how I configured the Action, here's a code snippet:
GitHub added a feature wherein it's possible to configure both "Repository Secrets" & "Environment Secrets" separately. The difference between the two is explained pretty well in this SO answer.
The way to fix this rather subtle issue is to add the tokens under "Repository Secrets" & not the other one. Refer to screenshot below for further information.
For more information on creating GitHub Action Secrets refer to the official documentations on the same topic.
Thanks for the great work!
And this issue might as well be related to #26. The only diff though this issue isn't related to Dependabot PRs.
Expected behaviour is for this Action to deploy on each push-event (if configured as such). But it crashes for my project every time with the following error:
And I'm pretty sure the GitHub Secrets are configured correctly. Screenshot attached for reference:
For more reference on how I configured the Action, here's a code snippet:
What am I missing out on for it to crash that way? Or is there something else wrong here?
Do let me know if you need more information.
The text was updated successfully, but these errors were encountered: