diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce72c16..080bdef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -222,9 +222,9 @@ jobs: with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - key: ${{ secrets.KEY }} + key: ${{ secrets.DEPLOY_SSH_KEY }} port: ${{ secrets.PORT }} script_stop: true script: | - git clone https://appleboy:${{ secrets.TEST_TOKEN }}@github.com/go-training/self-runner.git test_repository2 + git clone git@github.com:go-training/self-runner.git test_repository2 cd test_repository2 && git pull