We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb7d6e commit 9351bdfCopy full SHA for 9351bdf
.github/workflows/main.yml
@@ -33,9 +33,12 @@ jobs:
33
chmod 600 ~/.ssh/deployment_key
34
echo "$VM_PASSPHRASE" | ssh-add ~/.ssh/deployment_key
35
36
- - name: Configure SSH Settings
+ - name: Create SSH Config File
37
run: |
38
+ # Create an SSH config file to avoid the "No such file or directory" error
39
+ mkdir -p ~/.ssh
40
echo -e "Host *\n IdentitiesOnly yes\n StrictHostKeyChecking accept-new\n LogLevel VERBOSE" > ~/.ssh/config
41
+ chmod 600 ~/.ssh/config
42
43
- name: Add VM to known_hosts
44
0 commit comments