From 30aee2817262b106c75e4d6b279e276dccf37296 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 25 Sep 2024 20:21:22 -0700 Subject: [PATCH] Using v0.1.3 of appleboy/scp-action --- .gitea/workflows/build-and-deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 0036187..1d8a9f3 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -17,6 +17,14 @@ jobs: uses: actions/checkout@v4 - name: Build website content run: hugo + - name: Copy files using scp-action + uses: appleboy/scp-action@v0.1.3 + with: + host: shockrah.xyz + username: ${{ secrets.USER }} + source: "public/*" + target: /opt/nginx/test.shockrah.xyz + key: ${{ secrets.PRIVATE_KEY }} - name: Copy using scp-action uses: srueda99/scp-action@v12 with: