Skip to content

Commit

Permalink
add sudo to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
izzydotexe committed Oct 8, 2024
1 parent e74789f commit c0b60d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: cd ${{ vars.ENV }} && ./deploy.sh
script: cd ${{ vars.ENV }} && echo ${{ secrets.SSH_PASSWORD}} | sudo -S ./deploy.sh
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: cd ${{ vars.ENV }} && ./deploy.sh
script: cd ${{ vars.ENV }} && echo ${{ secrets.SSH_PASSWORD}} | sudo -S ./deploy.sh

0 comments on commit c0b60d6

Please sign in to comment.