TL;DR
Issue: Error occurring when trying to connect Appwrite with GitHub.
Solution: Ensure the GitHub private key is formatted correctly and follow the documentation provided for integration.
Also, check the GitHub credentials to ensure they are correct.Looks like your github credentials aren't correct
all fine i am using docker
i am following this doc https://appwrite.io/integrations/deployments-github
Do you have the key between "" and single-lined with \n?
Try running this:
TypeScript
CODE='
if (openssl_pkey_get_private(getenv("_APP_VCS_GITHUB_PRIVATE_KEY")) === false) {
echo "Invalid Private Key\n";
exit(1);
} else {
echo "Valid Private Key\n";
exit(0);
}'
docker compose exec appwrite php -r "$CODE"
Recommended threads
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...