fix: try without sudo
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 2m3s
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 2m3s
This commit is contained in:
parent
bd453c482f
commit
573237a3c9
1 changed files with 1 additions and 1 deletions
|
@ -28,5 +28,5 @@ jobs:
|
||||||
SFTP_PASSWORD: "${{ secrets.SFTP_PASSWORD }}"
|
SFTP_PASSWORD: "${{ secrets.SFTP_PASSWORD }}"
|
||||||
SFTP_HOST: "${{ secrets.SFTP_HOST }}"
|
SFTP_HOST: "${{ secrets.SFTP_HOST }}"
|
||||||
run: |
|
run: |
|
||||||
sudo apt install sshpass -y
|
apt install sshpass -y
|
||||||
sshpass -p "$SFTP_PASSWORD" sftp -o StrictHostKeyChecking=no $SFTP_USERNAME@$SFTP_HOST "put -r dist/*"
|
sshpass -p "$SFTP_PASSWORD" sftp -o StrictHostKeyChecking=no $SFTP_USERNAME@$SFTP_HOST "put -r dist/*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue