Skip to content
Snippets Groups Projects
Commit 5161555d authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added script to deploy documentation to the web server

[ci skip]
parent 92150ce2
No related branches found
No related tags found
Loading
#!/bin/bash
OUTPUTDIR=./html
SSH_USER=tnl-doc
SSH_HOST=mmg-gitlab.fjfi.cvut.cz
SSH_PORT=22
SSH_TARGET_DIR=/srv/http/doc/tnl
set -e
# Run from this directory
cd ${0%/*}
[[ ! -d "$OUTPUTDIR" ]] && ./build
rsync -e "ssh -p $SSH_PORT" -P -rvzc --cvs-exclude --delete "$OUTPUTDIR/" "$SSH_USER@$SSH_HOST:$SSH_TARGET_DIR"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment