Skip to content

Commit 2676f68

Browse files
committed
ci(command): sudo command add
1 parent f24cf39 commit 2676f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
run: pnpm build
2626
- run: echo "build success!!"
2727
- run: echo "Install sshpass!"
28-
- run: apt-get update -y
29-
- run: apt-get -y install sshpass
28+
- run: sudo apt-get update -y
29+
- run: sudo apt-get -y install sshpass
3030
- run: echo "upload dist to service..."
3131
# - name: Upload Services
3232
# run: sshpass -p "$HOST_PASSWORD" scp -v -o "StrictHostKeyChecking no" -r ./.next/* ${{ vars.HOST_USER }}@${{ vars.HOST_IP }}:${{ vars.HOST_PUBLIC_PATH }}/

0 commit comments

Comments
 (0)