From 737ff9203ba183da80703c53c30eabebf04408d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Krzy=C5=BCanowski?= Date: Fri, 17 Jan 2025 01:47:08 +0100 Subject: [PATCH] Blog deployment via scp --- .gitea/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7f2181a..5637d68 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,4 +18,14 @@ jobs: with: name: blog-public path: public/ + name: scp files + - name: Deploy + uses: appleboy/scp-action@v0.1.7 + with: + host: ${{ secrets.DEPLHOST }} + username: ${{ secrets.DEPLUSR }} + key: ${{ secrets.DEPLKEY }} + source: "public" + strip_components: 1 + target: /var/www/krzyzanowski.dev/blog