mirror of
https://github.com/BreizhHardware/portfolio.git
synced 2026-01-18 16:37:22 +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
|
||||
|
||||
- name: Copy build directory to server
|
||||
uses: appleboy/scp-action@master
|
||||
uses: milanmk/actions-file-deployer@master
|
||||
with:
|
||||
host: ${{ secrets.SERVER_HOST }}
|
||||
username: ${{ secrets.SERVER_USERNAME }}
|
||||
password: ${{ secrets.SERVER_PASSWORD }}
|
||||
port: ${{ secrets.SERVER_PORT }}
|
||||
source: "build/*"
|
||||
target: ${{ secrets.SERVER_DIRECTORY }}
|
||||
protocol: sftp
|
||||
remote-protocol: sftp
|
||||
remote-host: ${{ secrets.SERVER_HOST }}
|
||||
remote-user: ${{ secrets.SERVER_USER }}
|
||||
remote-password: ${{ secrets.SERVER_PASSWORD }}
|
||||
remote-path: ${{ secrets.SERVER_DIRECTORY }}
|
||||
report-port: ${{ secrets.SERVER_PORT }}
|
||||
Reference in New Issue
Block a user