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 user.name "Gitlab CI"
- git config user.email "gitlabci@0xacab.org"
# 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 git@0xacab.org:leap/riseup-vpn_package.git; fi
- git remote -v |grep -q riseup-vpn || git remote add riseup-vpn git@0xacab.org:leap/riseup-vpn_package.git
- 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