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

Update .gitlab-ci.yml

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