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