diff --git a/gitlab_release/.gitlab-ci.yml b/gitlab_release/.gitlab-ci.yml index 2938652..f8b04dd 100644 --- a/gitlab_release/.gitlab-ci.yml +++ b/gitlab_release/.gitlab-ci.yml @@ -13,7 +13,7 @@ - pip install --upgrade pip - pip install -r $ROOT_DIR/gitlab_release/requirements.txt - pip install $ROOT_DIR/gitlab_release/python-module/cz_nfc/. - - 'CLONE_URL="https://gitlab-ci-token:$API_RO_GIT_WR@gitlab.com/$CI_PROJECT_PATH.git"' + - 'CLONE_URL="https://gitlab-ci-token:$GIT_COMMIT_TOKEN@gitlab.com/$CI_PROJECT_PATH.git"' - echo "[DEBUG] CLONE_URL[$CLONE_URL]" - git clone -b $CI_COMMIT_BRANCH $CLONE_URL repo - cd repo diff --git a/gitlab_release/README.md b/gitlab_release/README.md index 2a0fd66..5ea31a8 100644 --- a/gitlab_release/README.md +++ b/gitlab_release/README.md @@ -30,7 +30,7 @@ Gitlab Release: | var name | Description | |:----:|:----| -| API_RO_GIT_WR | *this must be a personal token that has write access to the repository* | +| GIT_COMMIT_TOKEN | *this must be a personal token that has write access to the repository* | ## Job Workflow