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:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -25,11 +25,12 @@ jobs:
|
||||
npm run build
|
||||
|
||||
- name: Copy build directory to server
|
||||
uses: easingthemes/gh-action-sftp@master
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.SERVER_HOST }}
|
||||
username: ${{ secrets.SERVER_USERNAME }}
|
||||
password: ${{ secrets.SERVER_PASSWORD }}
|
||||
port: ${{ secrets.SERVER_PORT }}
|
||||
local: "build/*"
|
||||
remote: ${{ secrets.SERVER_DIRECTORY }}
|
||||
source: "build/*"
|
||||
target: ${{ secrets.SERVER_DIRECTORY }}
|
||||
protocol: sftp
|
||||
Reference in New Issue
Block a user