Blog deployment via scp

This commit is contained in:
Maciej Krzyżanowski 2025-01-17 01:47:08 +01:00
parent b4d6e487b6
commit a979c8c6a2

View File

@ -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