feat: switch back to default image, try installing sshpass
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
468d03e15e
commit
bd453c482f
1 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,6 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
|
||||||
image: ubuntu:latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -29,4 +27,6 @@ jobs:
|
||||||
SFTP_USERNAME: "${{ secrets.SFTP_USERNAME }}"
|
SFTP_USERNAME: "${{ secrets.SFTP_USERNAME }}"
|
||||||
SFTP_PASSWORD: "${{ secrets.SFTP_PASSWORD }}"
|
SFTP_PASSWORD: "${{ secrets.SFTP_PASSWORD }}"
|
||||||
SFTP_HOST: "${{ secrets.SFTP_HOST }}"
|
SFTP_HOST: "${{ secrets.SFTP_HOST }}"
|
||||||
run: sshpass -p "$SFTP_PASSWORD" sftp -o StrictHostKeyChecking=no $SFTP_USERNAME@$SFTP_HOST "put -r dist/*"
|
run: |
|
||||||
|
sudo apt install sshpass -y
|
||||||
|
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