Skip to content

Commit

Permalink
fix: update gitlab CI documentation (#1007)
Browse files Browse the repository at this point in the history
- CI_BUILD_REF_NAME has been depreciated use CI_COMMIT_REF_NAME

Co-authored-by: riverside-mrobinson <matt.robinson@riversideinsights.com>
  • Loading branch information
mrobinson1022 and rsi-mrobinson committed May 13, 2023
1 parent 18abf36 commit 433f85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ci.md
Expand Up @@ -151,7 +151,7 @@ before_script:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- git checkout $CI_BUILD_REF_NAME
- git checkout $CI_COMMIT_REF_NAME
- git remote set-url origin "git@gitlab.com:$CI_PROJECT_PATH.git"
- git config --global user.name "${CI_USERNAME}"
- git config --global user.email "${CI_EMAIL}"
Expand All @@ -171,7 +171,7 @@ Some people have reported an issue when using GitLab CI (in [#573][17]):
Here is an example script sequence for GitLab to mitigate the issue:

```bash
- git pull origin $CI_BUILD_REF_NAME
- git pull origin $CI_COMMIT_REF_NAME
- npm run release
```

Expand Down

0 comments on commit 433f85e

Please sign in to comment.