Skip to content

Commit d3f7073

Browse files
committed
test different ssh setting
1 parent bfd2d87 commit d3f7073

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ jobs:
2121
with:
2222
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
2323

24-
- name: ssh keyscan
25-
run: ssh-keyscan "internal.europython.eu" > ~/.ssh/known_hosts
24+
- name: Set up ssh
25+
run: |
26+
mkdir -p ~/.ssh
27+
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
28+
chmod 600 ~/.ssh/id_ed25519
29+
ssh-keyscan "internal.europython.eu" >> ~/.ssh/known_hosts
2630
2731
- name: Run deployment
2832
run: make deploy/app

0 commit comments

Comments
 (0)