Skip to content
Snippets Groups Projects
Commit a010277c authored by Andreas Fehn's avatar Andreas Fehn
Browse files

Update .gitlab-ci.yml

parent a37f86d1
Branches
Tags
No related merge requests found
Pipeline #869 failed
......@@ -19,16 +19,14 @@ build:
paths:
- .gradle/wrapper
- .gradle/caches
# only:
# - tags
only:
- tags
tags:
- dockered
publish:
stage: deploy
image: bravissimolabs/alpine-git
variables:
CI_DEBUG_TRACE: "true"
before_script:
- mkdir -pvm 0700 ~/.ssh
- echo "$SSH_SECRET_DEPLOY_KEY" | tr -d '\r' > ~/.ssh/id_rsa
......@@ -37,7 +35,7 @@ publish:
- git config user.email "$GITLAB_USER_EMAIL"
- export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`}
- echo $VERSION
- echo `git remote get-url origin`
- echo $CI_REPOSITORY_URL | sed -E 's/.*@([^\/]+?(\:\d+)?)\//git@\1:/'
script:
- git checkout ivy-repo || git checkout --orphan ivy-repo
- git reset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment