Update build-and-deploy.yml
This commit is contained in:
parent
6ed5ebd304
commit
59508a4bf1
1 changed files with 9 additions and 8 deletions
17
.github/workflows/build-and-deploy.yml
vendored
17
.github/workflows/build-and-deploy.yml
vendored
|
@ -17,12 +17,13 @@ jobs:
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- name: Deploy site
|
- name: Deploy site
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.2
|
uses: milanmk/actions-file-deployer@master
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.USERNAME }}
|
remote-protocol: 'sftp'
|
||||||
server: ${{ secrets.HOST }}
|
remote-host: ${{ secrets.HOST }}
|
||||||
port: ${{ secrets.PORT }}
|
remote-port: ${{ secrets.PORT }}
|
||||||
ssh_private_key: ${{ secrets.KEY }}
|
remote-user: ${{ secrets.USERNAME }}
|
||||||
local_path: './dist/*'
|
ssh-private-key: ${{ secrets.KEY }}
|
||||||
remote_path: '/html/sinsaludar.com'
|
sync: full
|
||||||
sftp_only: true
|
local-path: ./dist/
|
||||||
|
remote-path: /html/sinsaludar.com
|
||||||
|
|
Loading…
Reference in a new issue