mirror of
https://github.com/BreizhHardware/portfolio.git
synced 2026-03-18 21:40:29 +01:00
Change SCP to SFTP
This commit is contained in:
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
@@ -25,12 +25,11 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Copy build directory to server
|
- name: Copy build directory to server
|
||||||
uses: appleboy/scp-action@master
|
uses: milanmk/actions-file-deployer@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
remote-protocol: sftp
|
||||||
username: ${{ secrets.SERVER_USERNAME }}
|
remote-host: ${{ secrets.SERVER_HOST }}
|
||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
remote-user: ${{ secrets.SERVER_USER }}
|
||||||
port: ${{ secrets.SERVER_PORT }}
|
remote-password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
source: "build/*"
|
remote-path: ${{ secrets.SERVER_DIRECTORY }}
|
||||||
target: ${{ secrets.SERVER_DIRECTORY }}
|
report-port: ${{ secrets.SERVER_PORT }}
|
||||||
protocol: sftp
|
|
||||||
Reference in New Issue
Block a user