Browse Source

test

master
komarov 4 years ago
parent
commit
a85b118776
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .drone.yml

+ 1
- 0
.drone.yml View File

@@ -19,6 +19,7 @@ steps:
- eval $(ssh-agent) - eval $(ssh-agent)
- mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub - mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub
- ssh-add $HOME/.ssh/id_rsa - ssh-add $HOME/.ssh/id_rsa
- ssh-keyscan -p 2222 -H gitea.local >> $HOME/.ssh/known_hosts
- git clone $GIT_REPOSITORY ./ - git clone $GIT_REPOSITORY ./
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT




Loading…
Cancel
Save