appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🐛 Github Repository Issues And default domain issue in app write sites 1.7.0

Open johnproblems opened this issue 6 months ago • 2 comments

👟 Reproduction steps

Connect to a github repository or create a new one in appwrite sites The repository will be created but nothing will be push or pulled as intened to the repository using appwrite version 1.70 . Also the domain function in the beginning steps of creating the app is using mydomainname. but it does resolve to the domain name your app write instance is using it is just the mydomainame. you then have to go and add the mydomainname.yourdomain. if you have a proper wildcard cname it resolves correctly when you add it.

👍 Expected behavior

It should pull the files from the template and push it to the newly created repository or existing repository. When creating a site it should be for the domain the appname.domainnameappwriteisrunningon by default.

👎 Actual Behavior

It just creates and empty repository with no branch and then when the system go to find the branch it thinks should be their it does not exist therefore it can not proceed even when adding the repository after deployment which the build does take place if you do this it does not work

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

1.7.0

👀 Have you spent some time to check if this issue has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

johnproblems avatar May 19 '25 16:05 johnproblems

Hello! Thanks for creating this issue. Please, provide a title for the bug report.

DH-555 avatar May 20 '25 09:05 DH-555

@johnproblems thanks for creating this issue! 🙏🏼

The repository will be created but nothing will be push or pulled as intened to the repository using appwrite version 1.70 .

I just tested and the code was added as expected:

Image

Does the React Starter template work for you?

Also the domain function in the beginning steps of creating the app is using mydomainname.

Version 1.7.0 is probably missing the _APP_DOMAIN_SITES env var to help with this. It's been added as part of 1.7.2.

it does resolve to the domain name your app write instance

You will need to set up your DNS records just like for function domains.

stnguyen90 avatar May 21 '25 22:05 stnguyen90