github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/misc/upload_docs.sh (about) 1 #!/bin/bash 2 # Script to automatically update the Please website. 3 # Should be run from the root of the repo, and only by a CI system. 4 5 set -eu 6 7 BUCKET="s3://please.build" 8 9 DIR="`mktemp -d`" 10 plz-out/bin/src/please export outputs -o "$DIR" //docs 11 aws s3 cp --recursive "$DIR" "$BUCKET" 12 rm -rf "$DIR"