Do you use the github nodes? That’s a part of my backup workflow.
I first use “get: file” operation to check if the file already exists. (Error if not).
After that i either update or create a file in github.
The update and create operations do automatically commit and push the file.
If git add and git commit work in an Execute Command node, but git push fails, it likely means Git doesn’t have the necessary permissions to access the GitHub repository.
Since you’re running n8n with Docker, you can probably fix this by either:
mounting your .ssh directory into the container (e.g., -v ~/.ssh:/home/node/.ssh)
or creating your own SSH keys and SSH configurations and mounting them into the container (e.g., -v ./ssh_for_n8n:/home/node/.ssh)