Git push and envoyer #6844
Unanswered
brew-derek
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Have you tried running each of those commands on the command line? I suspect there's a branch issue with the names etc. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Setting up the git automation for the first time with a new licence and followed these instructions to setup the hooks on Envoyer correctly, however when it comes to this:
and I've changed master to
main
the hook then doesn't run and gives me back an error like this:I tried keeping the branch on the server called
master
and tracking that toorigin/main
which doesn't give me an error but then nothing is automatically pushed (STATAMIC_GIT_PUSH=true
is set in the .env) although the commits are all made as expected. If I try manually pushing I get thisIf I run the first one as suggested it pushes perfectly fine.
I can only assume I am doing something wrong due to inexperience with the git automation?
I have seen others having issues with push, in particular the protocol on the remote changing when deploying, but as far as I can tell mine is always
ssh
.Anyone have any clue what's happening?
Beta Was this translation helpful? Give feedback.
All reactions