Skip to content

Commit

Permalink
fix deployment keys
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusmi committed Feb 29, 2024
1 parent 845920a commit ef9c290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/vps_server_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2

- name: Set up SSH key
run: echo "${{secrrets.PRIVATE_KEY}}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
run: echo "${{secrets.PRIVATE_KEY}}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa

- name: Add VPS host to known hosts
run: ssh-keyscan -H ${{secrets.PROD_HOST}} >> ~/.ssh/known_hosts
Expand Down

0 comments on commit ef9c290

Please sign in to comment.