From 6e2b5662170907c154390262fb0a131b8665d5a1 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 9 Jul 2025 22:02:38 -0700 Subject: [PATCH] copy public folder to web server --- .gitea/workflows/demo.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index c537cc6..06737bd 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 }}."