Skip to content

Commit

Permalink
Seprates prepare keys step
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed Jun 2, 2023
1 parent fc0ad97 commit 65df38f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
- name: Prepare keys
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 [email protected] -p 8222 << EOF
rm -rf ausk.old
mv apollo-universal-starter-kit ausk.old
Expand Down

0 comments on commit 65df38f

Please sign in to comment.