diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c323d2..8444a86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,8 +38,5 @@ jobs: SPRING_BOOT_VM_IP: ${{ secrets.SPRING_BOOT_VM_IP }} SPRING_BOOT_VM_USERNAME: ${{ secrets.SPRING_BOOT_VM_USERNAME }} run: | - # Add host to known hosts - mkdir -p ~./ssh - ssh-keyscan -H ${{ secrets.SPRING_BOOT_VM_IP }} >> ~/.ssh/known_hosts # Transfer artifact using scp scp -v -o "StrictHostKeyChecking=no" -i private_key.pem target/*.jar $SPRING_BOOT_VM_USERNAME@$SPRING_BOOT_VM_IP:/home/$SPRING_BOOT_VM_USERNAME/spring_boot_demo/ \ No newline at end of file