Browse Source

fix CI config

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

+ 3
- 3
.gitlab-ci.yml View File

@ -101,9 +101,9 @@ release:
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) - 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
#- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- ssh-add -q <(echo "$GIT_SSH_KEY")
- mkdir -p ~/.ssh && ssh-keyscan $GITLAB_URL >> ~/.ssh/known_hosts
- git config --global user.email $GIT_AUTHOR_EMAIL - git config --global user.email $GIT_AUTHOR_EMAIL
- git config --global user.name $GIT_AUTHOR_NAME - git config --global user.name $GIT_AUTHOR_NAME
- semantic-release - semantic-release


Loading…
Cancel
Save