Files

15 lines
328 B
Bash

#!/bin/bash
set -ex
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${script_dir}"
echo "Docs directory: $script_dir"
# pnpm install .
pnpm run build .
# next will sync to server on https://threefold.info/getstarted
rsync -rv --delete ${script_dir}/build/ root@threefold.info:/root/hero/www/info/getstarted/