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