Skip to content

Commit

Permalink
Specify port for keyscan
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed Jun 2, 2023
1 parent 65df38f commit 47a56ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Prepare keys
- name: Deploy
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ausk.sysgears.com > ~/.ssh/known_hosts
- name: Deploy
run: |
ssh-keyscan -H ausk.sysgears.com -p 8222 > ~/.ssh/known_hosts
ssh [email protected] -p 8222 << EOF
rm -rf ausk.old
mv apollo-universal-starter-kit ausk.old
Expand Down

0 comments on commit 47a56ca

Please sign in to comment.