Skip to content
Snippets Groups Projects
Commit dd27a0dd authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

adding publishgit task

parent a0e35af3
No related branches found
No related tags found
No related merge requests found
Pipeline #88213 failed
......@@ -48,3 +48,17 @@ deploy-test:
- while [ "`openstack server show $INSTANCE_ID -c addresses -f value`" = "{}" ]; do sleep 5; done # wait until an address is available to attach the floating ip
- openstack server add floating ip $INSTANCE_ID $FLOATING_IP
- echo "Done"
publishgit-do:
stage: publish
only:
- tags
tags: [stable]
script:
- apt-get update
- apt-get install -y git
- (git remote -v | grep gith) || git remote add gith "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/eflows4hpc/data-logistics-service.git"
- git remote -v
- git show-ref
- export
- git push gith $CI_COMMIT_REF_NAME
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