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:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -25,11 +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: easingthemes/gh-action-sftp@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
port: ${{ secrets.SERVER_PORT }}
|
port: ${{ secrets.SERVER_PORT }}
|
||||||
source: "build/*"
|
local: "build/*"
|
||||||
target: ${{ secrets.SERVER_DIRECTORY }}
|
remote: ${{ secrets.SERVER_DIRECTORY }}
|
||||||
Reference in New Issue
Block a user