copy public folder to web server
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
2025-07-09 22:02:38 -07:00
parent 61d9a2dbe1
commit 6e2b566217

View File

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