Skip to content

Commit

Permalink
Update deptest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ronbruins authored Nov 10, 2024
1 parent 3fc4c74 commit 73865ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deptest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p 2271 ${{ secrets.HOST }} >> ~/.ssh/known_hosts
ssh-keyscan -p 22 ${{ secrets.HOST }} >> ~/.ssh/known_hosts
sudo apt-get install sshpass
- name: Deploy to server
run: |
sshpass -p '${{ secrets.PWD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }}:2271 <<'ENDSSH'
sshpass -p '${{ secrets.PWD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} <<'ENDSSH'
touch /tmp/git_deploy

0 comments on commit 73865ea

Please sign in to comment.