ci: use different action
This commit is contained in:
parent
df8a10c75b
commit
d1adebc9dd
1 changed files with 7 additions and 8 deletions
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
|
@ -28,12 +28,11 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
- name: Deploy
|
- name: "Deploy"
|
||||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
|
uses: milanmk/actions-file-deployer@master
|
||||||
with:
|
with:
|
||||||
server: ${{ secrets.SFTP_HOST }}
|
remote-protocol: "sftp"
|
||||||
port: 22 # Default SFTP port
|
remote-host: ${{ secrets.SFTP_HOST }}
|
||||||
username: ${{ secrets.SFTP_USERNAME }}
|
remote-user: ${{ secrets.SFTP_USERNAME }}
|
||||||
password: ${{ secrets.SFTP_PASSWORD }}
|
remote-password: ${{ secrets.SFTP_PASSWORD }}
|
||||||
local-dir: "./out/"
|
remote-path: "/root/www-aaronjy-me/"
|
||||||
server-dir: "/root/www-aaronjy-me/"
|
|
Loading…
Add table
Reference in a new issue