[neon/ubuntu-core/ago/generate-model-in-ci] debian: Fix push command refspec
Antoine Gonzalez
null at kde.org
Thu Jul 25 16:20:51 BST 2024
Git commit 2af8c1cd026d4a88e4e71ff13d0900714b48af45 by Antoine Gonzalez.
Committed on 25/07/2024 at 15:20.
Pushed by daspood into branch 'ago/generate-model-in-ci'.
Fix push command refspec
M +1 -2 debian/snap-image-model.yml
https://invent.kde.org/neon/ubuntu-core/-/commit/2af8c1cd026d4a88e4e71ff13d0900714b48af45
diff --git a/debian/snap-image-model.yml b/debian/snap-image-model.yml
index 976fed1..8aca856 100644
--- a/debian/snap-image-model.yml
+++ b/debian/snap-image-model.yml
@@ -38,10 +38,9 @@ snap_image_model:
- echo pushing new models to branch $CI_COMMIT_REF_NAME
- git config user.email "kde-neon-core-model-bot at kde.org"
- git config user.name "kde-neon-core model-bot"
- - git remote add origin_push https://oauth2:$UBUNTU_NEON_CORE_ACCESS_TOKEN@invent.kde.org:neon/ubuntu-core.git || git remote set-url origin_push https://oauth2:$UBUNTU_NEON_CORE_ACCESS_TOKEN@invent.kde.org:neon/ubuntu-core.git
- git add -f ./*.model
- git commit -m "Update model files"
- - git push origin_push HEAD:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME -o ci.skip
+ - git push https://oauth2:$UBUNTU_NEON_CORE_ACCESS_TOKEN@invent.kde.org:neon/ubuntu-core.git HEAD:$CI_COMMIT_REF_NAME -o ci.skip
interruptible: true
after_script:
# delete the gpg keyring
More information about the Neon-commits
mailing list