diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 01e1d59..3e6a9cd 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,14 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: LS - run: cd / && cat .dockerenv - - name: Test SSH access - run: ssh -Tv git@koptilnya.xyz + - name: ssh-keyscan + run: ssh-keyscan git.koptilnya.xyz >> ~/.ssh/known_hosts + - name: Checkout code uses: actions/checkout@v4 with: - ssh-key: '${{ secrets.SSH_PRIVATE_KEY }}' + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} ssh-strict: false persist-credentials: false