Verified Commit 0299f316 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change rules

parent cfba16f9
......@@ -23,8 +23,7 @@ commit:
entrypoint: [""]
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == "build-ci"
- if: $CI_COMMIT_BRANCH == "master"
- if: $CI_MERGE_REQUEST_ID
before_script:
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
- git remote set-url origin "https://$GIT_ACCESS_USER:$GIT_ACCESS_TOKEN@${url_host}"
......@@ -33,4 +32,4 @@ commit:
script:
- git add --all
- git commit -m "Update models"
- git push origin $CI_COMMIT_REF_NAME
\ No newline at end of file
- git push origin $CI_COMMIT_BRANCH
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment