use SFTP instead
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s

This commit is contained in:
2025-07-09 23:01:49 -07:00
parent 6e2b566217
commit 81bdac5764

View File

@@ -16,13 +16,13 @@ jobs:
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Copy files with SCP
uses: appleboy/scp-action@v1
- name: Copy files with SFTP
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
with:
host: ${{ secrets.HOST }}
server: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: 22
source: "public/*"
target: "www/"
local_path: './public/*'
rempote_path: 'www'
sftp_only: true
- run: echo "🍏 This job's status is ${{ job.status }}."