瀏覽代碼

test

master
komarov 4 年之前
父節點
當前提交
a9c9a3ac1f
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      .drone.yml

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

@@ -19,6 +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
- dig -t a +short gitea.local | grep ^[0-9] | xargs -r -n1 ssh-keyscan -H -p 2222 >> ~/.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…
取消
儲存