Skip to content

Commit

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

0 comments on commit bf693a3

Please sign in to comment.