Browse Source

update CI config

main
Distopico Vegan 6 years ago
parent
commit
c9fb3bf94d
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      .gitlab-ci.yml

+ 7
- 1
.gitlab-ci.yml View File

@ -99,7 +99,13 @@ release:
- export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && nvm install 8 - export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && nvm install 8
cache: {} cache: {}
script: script:
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/exec @semantic-release/git @semantic-release/gitlab
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/exec @semantic-release/git @semantic-release/gitlab
- eval $(ssh-agent -s)
#- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- ssh-add <(echo "$GIT_SSH_KEY")
- ssh-keyscan $GITLAB_URL >> ~/.ssh/known_hosts
- git config --global user.email $GIT_AUTHOR_EMAIL
- git config --global user.name $GIT_AUTHOR_NAME
- git checkout $CI_COMMIT_SHA - git checkout $CI_COMMIT_SHA
- semantic-release - semantic-release
- git checkout develop && git rebase master && git push origin develop - git checkout develop && git rebase master && git push origin develop

Loading…
Cancel
Save