first stage of upload to mb1
This commit is contained in:
parent
bf76e1ac55
commit
fc6b13ff15
2 changed files with 8 additions and 2 deletions
|
@ -23,5 +23,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Checkout
|
name: Checkout
|
||||||
- run: |
|
- name: build
|
||||||
nix develop -c hugo --gc --minify
|
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/
|
|
@ -16,6 +16,7 @@
|
||||||
buildInputs = with pkgs;
|
buildInputs = with pkgs;
|
||||||
with pkgs.python38Packages; [
|
with pkgs.python38Packages; [
|
||||||
cacert
|
cacert
|
||||||
|
rsync
|
||||||
git
|
git
|
||||||
hugo
|
hugo
|
||||||
hut
|
hut
|
||||||
|
|
Loading…
Reference in a new issue