|
@@ -17,8 +17,6 @@ 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 |
|
|
- (ping -q -c 1 -t 1 gitea.local | grep PING | sed -e "s/).*//" | sed -e "s/.*(//") >> $HOME/.ssh/known_hosts |
|
|
|
|
|
- ssh-keyscan -t rsa -p 2222 -H gitea.local >> $HOME/.ssh/known_hosts |
|
|
|
|
|
- git clone ssh://gitea.local:2222/Torrion/arbitry.git ./ |
|
|
- git clone ssh://gitea.local:2222/Torrion/arbitry.git ./ |
|
|
- git checkout $DRONE_COMMIT |
|
|
- git checkout $DRONE_COMMIT |
|
|
|
|
|
|
|
|