first stage of upload to mb1

This commit is contained in:
Cyryl Płotnicki 2023-08-12 18:40:03 +01:00
parent bf76e1ac55
commit fc6b13ff15
2 changed files with 8 additions and 2 deletions

View file

@ -23,5 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v3
name: Checkout
- run: |
- name: build
run: |
nix develop -c hugo --gc --minify
- name: publish
run: |
echo "TODO: copy private key"
nix develop -c rsync -avz public/ root@mb1:/var/www/blog/

View file

@ -16,6 +16,7 @@
buildInputs = with pkgs;
with pkgs.python38Packages; [
cacert
rsync
git
hugo
hut