Skip to content

Commit

Permalink
mun
Browse files Browse the repository at this point in the history
  • Loading branch information
Swallow2022 committed Nov 17, 2023
1 parent 01782be commit 98f9b35
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/aws-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ jobs:
# run: echo "${{secrets.DEPLOY_HOST}} ssh-rsa ${{secrets.SSH_KEY}}">~/.ssh/known_hosts

- name: Set-up ssh config-file
run: >
echo "Host aws">~/.ssh/config;
echo " HostName ${{secrets.DEPLOY_HOST}}">~/.ssh/config;
echo " User ${{secrets.SSH_USER}}">~/.ssh/config;
echo " IdentityFile ~/.ssh/aws.pem">~/.ssh/config;
echo " StrictHostKeyChecking no">~/.ssh/config;
run: echo -e "Host aws\ HostName ${{secrets.DEPLOY_HOST}} User ${{secrets.SSH_USER}} IdentityFile ~/.ssh/aws.pem StrictHostKeyChecking no">~/.ssh/config

- name: Show ssh config-file
run: cat ~/.ssh/config
Expand Down

0 comments on commit 98f9b35

Please sign in to comment.