Skip to content
Snippets Groups Projects
Commit 6697dccd authored by micah's avatar micah :speech_balloon:
Browse files

[ci] don't fail if git remote exists

parent 0401329d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment