Conversaciones » Comentarios y opiniones sobre Greasy Fork
Release webhook "updated_failed": Could not pull contents from git: fatal: path 'script.user.js' does not exist
This question is asked many times.
Webhook for Commit Push with updated files only, not Release.
See https://github.com/JasonBarnabe/greasyfork/issues/1211#issuecomment-1826291455
Thank you! I assumed support for release webhooks meant reading release artifacts, but that appears to be clarified further down the page.
...
(In either case, Greasy Fork will be looking for modified files in these events.)
I assumed support for release webhooks meant reading release artifacts
I think it is a mistake. I find no one use the following:
Release -> Update the file stored in https://github.com/YourRepoName/YourProjectName/releases/latest/download/path/to/script.user.js
It requires the exactly the same path for each release.
(In either case, Greasy Fork will be looking for modified files in these events.)
Yes. This is what I clarified with Jason and he added it to make it clear.
Greasy Fork isn't updating my script on release. I am getting the following error on
release.published
events:Webhook payload:
The script's sync URL matches the format listed in Setting up a webhook, so I'm not sure what's going wrong here.
Sync URL: https://github.com/AJGranowski/reddit-expanded-community-filter-userscript/releases/latest/download/script.user.js
Is this still the case?