We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9674165 commit a89ba51Copy full SHA for a89ba51
.github/workflows/deploy.yml
@@ -66,11 +66,12 @@ jobs:
66
password: ${{ secrets.GHCR_TOKEN }}
67
68
- name: Set up SSH key
69
- run: |
70
- mkdir -p ~/.ssh
71
- echo "${{ secrets.LIGHTSAIL_SSH_KEY }}" > ~/.ssh/lightsail_key
72
- chmod 600 ~/.ssh/lightsail_key
73
- ssh-keyscan -H ${{ vars.LIGHTSAIL_HOST }} >> ~/.ssh/known_hosts
+ run: |
+ mkdir -p ~/.ssh
+ echo "${{ secrets.LIGHTSAIL_SSH_KEY }}" > ~/.ssh/lightsail_key
+ chmod 600 ~/.ssh/lightsail_key
+ ssh-keygen -R "${{ vars.LIGHTSAIL_HOST }}" || true
74
+ ssh-keyscan -H "${{ vars.LIGHTSAIL_HOST }}" >> ~/.ssh/known_hosts
75
76
- name: Start ssh-agent
77
run: |
0 commit comments