Skip to content

Commit

Permalink
Merge pull request #7 from yunusmi/dev
Browse files Browse the repository at this point in the history
fix deployment keys
  • Loading branch information
yunusmi authored Feb 29, 2024
2 parents 04dcadd + ef9c290 commit d11564a
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 "$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 d11564a

Please sign in to comment.