Skip to content

Commit

Permalink
ci(command): sudo command add
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jun 19, 2024
1 parent f24cf39 commit 2676f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
run: pnpm build
- run: echo "build success!!"
- run: echo "Install sshpass!"
- run: apt-get update -y
- run: apt-get -y install sshpass
- run: sudo apt-get update -y
- run: sudo apt-get -y install sshpass
- run: echo "upload dist to service..."
# - name: Upload Services
# run: sshpass -p "$HOST_PASSWORD" scp -v -o "StrictHostKeyChecking no" -r ./.next/* ${{ vars.HOST_USER }}@${{ vars.HOST_IP }}:${{ vars.HOST_PUBLIC_PATH }}/
Expand Down

0 comments on commit 2676f68

Please sign in to comment.