Solved Git (feature) deploy fails

AutiCodes

Verified User
Joined
Jun 9, 2024
Messages
40
Hi y'all.
So i wanna use the Git feature to deploy/fetch Git code.

Now i've made an temporary repo and an subdomain:
Repo: https://github.com/AutiCodes/Test-repo-da-git
test domain: test-repo-da-git.auticodes.nl

Now i added the details in the Git on DA:
Name: Test-repo-da-git
Remote: https://github.com/AutiCodes/Test-repo-da-git

Then i edited the Git function to set remote path:
home/auticodes/domains/test-repo-da-git.auticodes.nl/public_html/


Fetching works, but when i wanna deploy it says:
git deploy: failed to deploy error=failed to create deploy path at [/home/auticodes/home/auticodes/domains/test-repo-da-git.auticodes.nl/public_html] : mkdir /home/auticodes/home/auticodes/domains/test-repo-da-git.auticodes.nl/public_html: no such file or directory req-uri=/api/git/uuid/da393fa8c32f36e1a1cae4ea40eef78c/deploy

Im using CLI now for my other projects but would be nice if this works.
 
Then i edited the Git function to set remote path:
home/auticodes/domains/test-repo-da-git.auticodes.nl/public_html/
Seems you probably editted this wrongly, because this is the result:
failed to create deploy path at [/home/auticodes/home/auticodes/domains etc,

Git is started by user, so already starting from the /home/user account, no need to mention that anymore.

So edit the remote path again and try and set it like this:
domains/test-repo-da-git.auticodes.nl/public_html/
does it work for you then?
 
Seems you probably editted this wrongly, because this is the result:


Git is started by user, so already starting from the /home/user account, no need to mention that anymore.

So edit the remote path again and try and set it like this:
domains/test-repo-da-git.auticodes.nl/public_html/
does it work for you then?
Hi, ahh yeah that works, thanks! <3
 
Back
Top