diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7305eca..eab1b71 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: known_hosts: "unnecessary" - name: Adding Known Hosts - run: ssh-keyscan -H ${{ secrets.HOST }} >> ~/.ssh/known_hosts + run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts - name: Deploy with rsync - run: rsync -avz --delete . ${{ secrets.USERNAME }}@${{ secrets.HOST }}:/prod + run: rsync -avz --delete . ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:/prod