feat: skip ci if gimi push is used

This commit is contained in:
Jozef Steinhübl 2024-07-23 18:02:59 +02:00
parent e0e29bfd28
commit cdc87b444a
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -34,8 +34,8 @@ int git_push(char *provider_name, char *branch_name, bool verbose) {
char output[1024];
char command[256];
snprintf(command, sizeof(command), "git push gimi-%s %s 2>&1", provider_name,
branch_name);
snprintf(command, sizeof(command), "git push -o skip-ci gimi-%s %s 2>&1",
provider_name, branch_name);
file_ptr = popen(command, "r");
if (file_ptr == NULL) {