Do not require github master branch before first push

This commit is contained in:
Chris Wright 2021-03-01 12:16:04 +00:00
parent 021c3a11a3
commit b86690ea7d

View File

@ -124,7 +124,7 @@ push-github:
- git remote add github git@github.com:epi2me-labs/${CI_PROJECT_NAME}.git || true
- git fetch ont dev --tags
- git fetch ont master
- git fetch github master
- git fetch github master || echo "No 'master' branch present on github"
- git checkout --track github/master || git checkout master
- git merge ${CI_COMMIT_TAG}
- git push github master