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 }}."