fix: sshpass not found
Some checks failed
Build and Deploy Svelte App / build-and-deploy (push) Failing after 1m1s
Some checks failed
Build and Deploy Svelte App / build-and-deploy (push) Failing after 1m1s
This commit is contained in:
parent
9bca0f01d2
commit
c2f587eebf
@ -34,7 +34,8 @@ jobs:
|
||||
# Deploy the build to your server (e.g., using SCP, Rsync, or FTP)
|
||||
- name: Deploy to Strato.de (SFTP example)
|
||||
run: |
|
||||
sudo apt-get install -y sshpass # Install sshpass for non-interactive SSH authentication
|
||||
sudo apt-get update # Update package list
|
||||
sudo apt-get install -y sshpass # Install sshpass
|
||||
sshpass -p "$DEPLOY_PASSWORD" scp -r build/* "$DEPLOY_USER@$DEPLOY_SERVER:/"
|
||||
env:
|
||||
DEPLOY_PASSWORD: ${{ secrets.STRATO_PASSWORD }} # Add your deployment password to secrets
|
||||
|
Loading…
x
Reference in New Issue
Block a user