From 7e7b5b72dd2b46a518cb6372eac3f858ec6c1b87 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7f2181a..0d8268f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,4 +18,12 @@ jobs: with: name: blog-public path: public/ + - 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