fix: use GitHub proxy for actions upstream sync
This commit is contained in:
@@ -3,7 +3,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||||
TMP_DIR="$(mktemp -d)"
|
TMP_DIR="$(mktemp -d)"
|
||||||
UPSTREAM_REPO_URL="${UPSTREAM_REPO_URL:-https://github.com/blackmatrix7/ios_rule_script.git}"
|
UPSTREAM_REPO_URL="${UPSTREAM_REPO_URL:-https://gh.halonice.com/https://github.com/blackmatrix7/ios_rule_script.git}"
|
||||||
UPSTREAM_REF="${UPSTREAM_REF:-master}"
|
UPSTREAM_REF="${UPSTREAM_REF:-master}"
|
||||||
TARGET_DIR="${ROOT_DIR}/data/upstream"
|
TARGET_DIR="${ROOT_DIR}/data/upstream"
|
||||||
|
|
||||||
@@ -33,4 +33,4 @@ This directory is generated by tools/sync_surge_full.sh.
|
|||||||
- Commit Date: $UPSTREAM_DATE
|
- Commit Date: $UPSTREAM_DATE
|
||||||
TXT
|
TXT
|
||||||
|
|
||||||
echo "[sync] done: commit=$UPSTREAM_COMMIT"
|
echo "[sync] done: commit=$UPSTREAM_COMMIT"
|
||||||
Reference in New Issue
Block a user