Skip to content

Commit

Permalink
fix(ci): sudo not found
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Jul 16, 2024
1 parent 3a1df57 commit 0e1ed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
chmod 600 $HOME/.ssh/id_ed25519
scp -i $HOME/.ssh/id_ed25519 -o StrictHostKeyChecking=no -P ${{ matrix.server.port }} -r scripts/deploy.sh ${{ matrix.server.user }}@${{ matrix.server.host }}:/opt/estkme-cloud
ssh -i $HOME/.ssh/id_ed25519 -o StrictHostKeyChecking=no ${{ matrix.server.user }}@${{ matrix.server.host }} -p ${{ matrix.server.port }} "sudo /opt/estkme-cloud/deploy.sh '${{ matrix.server.ad }}' && rm -f /opt/estkme-cloud/deploy.sh"
ssh -i $HOME/.ssh/id_ed25519 -o StrictHostKeyChecking=no ${{ matrix.server.user }}@${{ matrix.server.host }} -p ${{ matrix.server.port }} "/opt/estkme-cloud/deploy.sh '${{ matrix.server.ad }}' && rm -f /opt/estkme-cloud/deploy.sh"

0 comments on commit 0e1ed93

Please sign in to comment.