Commit 6697dccd authored by micah's avatar micah 💬
Browse files

[ci] don't fail if git remote exists

parent 0401329d
Pipeline #27081 passed with stages
in 28 minutes and 35 seconds
......@@ -141,7 +141,7 @@ branded_push:
- git config "Gitlab CI"
- git config ""
# 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 remote -v |grep -q riseup-vpn || git remote add riseup-vpn
- 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