Skip to content

Commit

Permalink
fix: read from secrets and not from vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ca057 committed Oct 23, 2024
1 parent 24e6847 commit 1fecd68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
with:
switches: "-avrh --delete"
path: "dist/"
remote_path: "/var/www/virtual/${{ vars.SSH_USERNAME }}/html"
remote_host: "${{ vars.SSH_HOST }}"
remote_user: "${{ vars.SSH_USERNAME }}"
remote_path: "/var/www/virtual/${{ secrets.SSH_USERNAME }}/html"
remote_host: "${{ secrets.SSH_HOST }}"
remote_user: "${{ secrets.SSH_USERNAME }}"
remote_key: "${{ secrets.SSH_PRIVATE_KEY }}"
- run: echo "deploy"

0 comments on commit 1fecd68

Please sign in to comment.