Commit 0401329d authored by micah's avatar micah 💬
Browse files

[ci] Only add the remote if it is not already there

parent ea2524d4
Pipeline #27080 failed with stages
in 14 minutes and 54 seconds
......@@ -140,8 +140,8 @@ branded_push:
# we also need to configure name and email for git user
- git config "Gitlab CI"
- git config ""
# Add the remote repository and push to it
- git remote add riseup-vpn
# Add the remote repository and push to it - sometimes it already exists, and it causes the pipeline to fail, so we only add if its not already there
- git remote -v |grep -q riseup-vpn; if [ $? -ne 0 ]; then git remote add riseup-vpn; fi
- git push --force riseup-vpn HEAD:incoming
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment