Browse Source

Fix update script

master
parent
commit
cf6f0849bd
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 4
      flake.nix

4
flake.nix

@ -16,7 +16,7 @@
popd > /dev/null popd > /dev/null
''; '';
myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" '' myWeddingSiteUpdate = pkgs.writeShellScriptBin "my-wedding-site-update" ''
${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir} ${myWeddingSiteTgt}
${pkgs.rsync}/bin/rsync -aP ${myWeddingSiteDir}/public/ ${myWeddingSiteTgt}
''; '';
in in
rec { rec {
@ -27,7 +27,7 @@
]; ];
shellHook = '' shellHook = ''
export MY_WEDDING_SITE_DIR=$(pwd)
export MY_WEDDING_SITE_DIR="$(pwd)"
''; '';
}; };
} }

Loading…
Cancel
Save