build-prod.sh 209 B

123456789
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. yarn build
  4. # hard coded COS path, change to your real bucket/path
  5. COS_TARGET="cos://gami-public-1377959011/gami-web"
  6. coscli cp .output/public "$COS_TARGET" --recursive