Commit d74f578c authored by Ben Gamari's avatar Ben Gamari 🐢

Try fixing deployment

parent 83ca64cb
Pipeline #3984 failed with stages
in 40 minutes and 28 seconds
...@@ -84,6 +84,6 @@ deploy-webhost: ...@@ -84,6 +84,6 @@ deploy-webhost:
- echo "$DEPLOY_KEY" > key - echo "$DEPLOY_KEY" > key
- echo "webhost.haskell.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH2qKrYfhGC/7W/yLGjIkUPozDU+bJSNDFSrilUwyu8H5hbfSnlsBd/HvXvNc3TquDJ1T91J65AjGq+J+2F28Nw=" > $HOME/.ssh/known_hosts - echo "webhost.haskell.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH2qKrYfhGC/7W/yLGjIkUPozDU+bJSNDFSrilUwyu8H5hbfSnlsBd/HvXvNc3TquDJ1T91J65AjGq+J+2F28Nw=" > $HOME/.ssh/known_hosts
- chown -R 0600 $HOME/.ssh key - chown -R 0600 $HOME/.ssh key
- nix run -f . -c scp -r -i key _site/* ghc-site@webhost.haskell.org:/www-data/haskell.org/ghc - nix run -f . -c rclone sync -n --sftp-key-file key _site/* ghc-site@webhost.haskell.org:/www-data/haskell.org/ghc
after_script: after_script:
- rm -f key - rm -f key
...@@ -19,4 +19,4 @@ let ...@@ -19,4 +19,4 @@ let
''; '';
}; };
in buildEnv { name = "ghc-homepage-utils"; paths = [ scripts rsync openssh ]; } in buildEnv { name = "ghc-homepage-utils"; paths = [ scripts openssh rclone ]; }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment