[julia] switch upstreams to pkg servers

This commit is contained in:
Johnny Chen 2021-03-12 00:06:09 +08:00 committed by GitHub
parent 2e26978416
commit 0151f4f2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
set -e set -e
BASE_URL=${TUNASYNC_UPSTREAM_URL:-"https://us-east.storage.juliahub.com"} BASE_URL=${TUNASYNC_UPSTREAM_URL:-"https://us-east.pkg.julialang.com"}
[[ -d "${TUNASYNC_WORKING_DIR}" ]] [[ -d "${TUNASYNC_WORKING_DIR}" ]]
cd "${TUNASYNC_WORKING_DIR}" cd "${TUNASYNC_WORKING_DIR}"
UPSTREAMS="[\"https://us-east.storage.juliahub.com\", \"https://kr.storage.juliahub.com\"]" UPSTREAMS="[\"https://us-east.pkg.julialang.com\", \"https://kr.pkg.julialang.com\"]"
OUTPUT_DIR="$PWD/static" OUTPUT_DIR="$PWD/static"