Change SCP to SFTP

This commit is contained in:
2024-06-20 12:06:40 +02:00
parent d59e259628
commit 3c73bd26cf

View File

@@ -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