Change SCP to SFTP

This commit is contained in:
2024-06-20 12:05:30 +02:00
parent 6e7b10c4cc
commit d59e259628

View File

@@ -25,11 +25,11 @@ jobs:
npm run build
- name: Copy build directory to server
uses: appleboy/scp-action@master
uses: easingthemes/gh-action-sftp@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
source: "build/*"
target: ${{ secrets.SERVER_DIRECTORY }}
local: "build/*"
remote: ${{ secrets.SERVER_DIRECTORY }}