瀏覽代碼

test

master
komarov 4 年之前
父節點
當前提交
3609eeb7f6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      .drone.yml

+ 1
- 1
.drone.yml 查看文件

@@ -19,7 +19,7 @@ steps:
- 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
- ssh-add $HOME/.ssh/id_rsa
- resolveip -s gitea.local
- (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 $GIT_REPOSITORY ./
- git checkout $DRONE_COMMIT


Loading…
取消
儲存