diff --git a/ci/deploy.gitlab-ci.yml b/ci/deploy.gitlab-ci.yml index 6701f0811..eca7e0641 100644 --- a/ci/deploy.gitlab-ci.yml +++ b/ci/deploy.gitlab-ci.yml @@ -2,13 +2,16 @@ deploy:tag: stage: deploy image: ubuntu:latest + variables: + GIT_STRATEGY: "clone" before_script: - export DEBIAN_FRONTEND=noninteractive - apt-get update -y - apt-get install -y --no-install-recommends git script: - - git tag nightly master - - git push $EIGEN_CI_GIT_PUSH_URL master tag nightly + - git status + - git tag -f nightly $CI_COMMIT_BRANCH + - git push $EIGEN_CI_GIT_PUSH_URL $CI_COMMIT_BRANCH tag nightly tags: - linux - eigen-runner