Back

GitHub Webhooks not auto-deploying new versions in 1.4.2

  • 0
  • Self Hosted
  • Functions
unsoop
9 Sep, 2023, 19:42

i am able to connect to the github repo, and the first deployment works well. but new commits are ignored. how can i debug it?

TL;DR
User is experiencing an issue where GitHub webhooks are not auto-deploying new versions in version 1.4.2 of Appwrite. They mention that a single commit triggered three builds, which is not desired. They later realize that they were missing push permissions. They confirm that the issue occurs with new commits pushed to the GitHub branch. They provide a link to the Appwrite documentation to validate their configuration. They compare their config to a sample provided in the Appwrite GitHub repository. They confirm that they have set the webhook URL and secret in GitHub. They are able to connect to the GitHub repo and the initial deployment works, but
unsoop
9 Sep, 2023, 19:42

@Steven as you requested a new thread πŸ™‚

Drake
9 Sep, 2023, 20:02

Is your Appwrite instance publicly accessible?

unsoop
9 Sep, 2023, 20:03

yes.

Drake
9 Sep, 2023, 20:03

Did you set the webhook URL and secret in GitHub?

unsoop
9 Sep, 2023, 20:04

i did. and will update it to validate it.

Drake
9 Sep, 2023, 20:05

And subscribe to events has pull and push?

https://appwrite.io/docs/configuration#subscribe-events

unsoop
9 Sep, 2023, 20:06

a. you good you πŸ˜‰ b. i QUIT! ):

unsoop
9 Sep, 2023, 20:07

i added just pull requests...

unsoop
9 Sep, 2023, 20:08

now it works πŸ™‚

unsoop
9 Sep, 2023, 20:08

tnx

Drake
9 Sep, 2023, 20:08

And this is new commits pushed to your GitHub branch, right?

unsoop
9 Sep, 2023, 20:08

yes.

unsoop
9 Sep, 2023, 20:08

i was missing the push permissions.

unsoop
9 Sep, 2023, 20:08

*in production that wouldnt be wise to do..

unsoop
9 Sep, 2023, 20:13

FYI, a single commit triggerd 3 builds

unsoop
9 Sep, 2023, 20:13

and its building all of them...

Drake
9 Sep, 2023, 20:31

Weird....I don't think that happened to me 🧐

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more