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

Fix deployment once and for all

parent 3c4524db
Pipeline #3986 passed with stages
in 13 minutes and 10 seconds
......@@ -84,6 +84,6 @@ deploy-webhost:
- echo "$DEPLOY_KEY" > key
- echo "webhost.haskell.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH2qKrYfhGC/7W/yLGjIkUPozDU+bJSNDFSrilUwyu8H5hbfSnlsBd/HvXvNc3TquDJ1T91J65AjGq+J+2F28Nw=" > $HOME/.ssh/known_hosts
- chown -R 0600 $HOME/.ssh key
- nix run -f . -c rclone sync -n --sftp-key-file key _site ghc-site@webhost.haskell.org:/www-data/haskell.org/ghc
- nix run -f . -c rclone sync _site --sftp-key-file=./key --sftp-user=ghc-site --sftp-host=webhost.haskell.org :sftp:/ghc
after_script:
- rm -f key
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