test new workflow

This commit is contained in:
Kars van Velzen 2024-10-21 14:38:38 +02:00
parent d1554ee8d9
commit bca40fedd1

View file

@ -28,11 +28,11 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa [${{ secrets.SSH_HOST }}] >> ~/.ssh/known_hosts
#ssh-keyscan -t rsa [${{ secrets.SSH_HOST }}] >> ~/.ssh/known_hosts
- name: Connect to server
run: |
ssh ${{ secrets.SSH_USERNAME }}@[${{ secrets.SSH_HOST }}] -p ${{ secrets.SSH_PORT }} "whoami"
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME }}@[${{ secrets.SSH_HOST }}] -p ${{ secrets.SSH_PORT }} "whoami"
# - name: SSH into VM and deploy
# uses: appleboy/ssh-action@master