From a979c8c6a26174e44fd9445b78eb16d6329b91a8 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7f2181a..dcad6db 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,4 +18,13 @@ jobs: with: name: blog-public path: public/ + name: scp files + - 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