www_docs_threefold_io/build_ubuntu.sh

13 lines
270 B
Bash
Raw Permalink Normal View History

2024-11-23 03:59:03 +00:00
#!/bin/bash
set -ex
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${script_dir}"
echo "Docs directory: $script_dir"
cd docs_website
yarn build
cd ..
rsync -rv --delete ${script_dir}/docs_website/build/ root@info.ourworld.tf:/root/hero/www/info/docs/