#!/bin/bash
# config files to ~/vectorspace.xyz/configs
# whatever gets placed in ~/vectorspace.xyz gets synced to vectorspace.xyz:/home/vector/vectorspace.xyz
# configs.vectorspace.xyz has root at vectorspace.xyz:/home/vector/vectorspace.xyz/configs

# rsync -r --mkpath --delete source destination

CWD=$(pwd)
cd ~/vectorspace.xyz
mkdocs build
rsync -r --delete ./ vector@93.177.64.168:~/vectorspace.xyz/

cd "${CWD}"
