Skip to content
Snippets Groups Projects
Commit c19d5736 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] ci: push-to-github only on master

parent 48483122
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,9 @@ push_to_github:
- bash -c "cat packed-refs | grep -v 'refs/pull' > packed-refs-new; echo 'Removed pull refs.'"
- mv packed-refs-new packed-refs
- bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
only:
- master
publish:
stage: deploy
image: node:6.12-alpine
......
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