1 files changed, 10 insertions(+), 1 deletions(-)
M .build.yml
M .build.yml => .build.yml +10 -1
@@ 1,10 1,19 @@
image: nixos/latest
repositories:
nixos-old: "https://channels.nixos.org/nixos-18.03"
+secrets:
+ - 44dd7a35-7800-49b0-8609-519c23329d74
packages:
- nixos.stack
tasks:
- build: |
cd BHR
- NIX_PATH="nixpkgs=$HOME/.nix-defexpr/channels/nixos-old" stack build curly
+ old_path="nixpkgs=$HOME/.nix-defexpr/channels/nixos-old"
+ NIX_PATH="$old_path" stack build --haddock curly
+ - deploy: |
+ cd BHR
+ old_path="nixpkgs=$HOME/.nix-defexpr/channels/nixos-old"
+ stack_dir="$(NIX_PATH="$old_path" stack path --local-doc-root)"
+ rsync --rsh="ssh -o 'KexAlgorithms +diffie-hellman-group1-sha1' -o 'HostKeyAlgorithms +ssh-rsa' -o 'PubkeyAcceptedKeyTypes +ssh-rsa' -o 'StrictHostKeyChecking no' -p 21098" \
+ -aP "$stack_dir/" coiftbmv@ftp.coiffier.net:public_html/BHR