mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修改static仓储到github
This commit is contained in:
parent
95f8e9953a
commit
65bc4c40e9
4
.github/workflows/ build.yml
vendored
4
.github/workflows/ build.yml
vendored
|
@ -21,7 +21,8 @@ jobs:
|
||||||
|
|
||||||
- name: copy to static repo
|
- name: copy to static repo
|
||||||
env:
|
env:
|
||||||
GITHUB_REPO: gitee.com/whyour/qinglong-static
|
# GITHUB_REPO: gitee.com/whyour/qinglong-static
|
||||||
|
GITHUB_REPO: github.com/whyour/qinglong-static
|
||||||
run: |
|
run: |
|
||||||
mkdir -p static
|
mkdir -p static
|
||||||
cd ./static
|
cd ./static
|
||||||
|
@ -29,6 +30,5 @@ jobs:
|
||||||
git init && git add .
|
git init && git add .
|
||||||
git config user.name "whyour"
|
git config user.name "whyour"
|
||||||
git config user.email "imwhyour@gmail.com"
|
git config user.email "imwhyour@gmail.com"
|
||||||
git config http.postBuffer 524288000
|
|
||||||
git commit --allow-empty -m "copy static at $(date +'%Y-%m-%d %H:%M:%S')"
|
git commit --allow-empty -m "copy static at $(date +'%Y-%m-%d %H:%M:%S')"
|
||||||
git push --force --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master
|
git push --force --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master
|
|
@ -261,7 +261,7 @@ update_qinglong() {
|
||||||
echo -e "\n更新$dir_root失败,请检查原因...\n"
|
echo -e "\n更新$dir_root失败,请检查原因...\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local url="https://gitee.com/whyour/qinglong-static.git"
|
local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git"
|
||||||
if [ -d ${ql_static_repo}/.git ]; then
|
if [ -d ${ql_static_repo}/.git ]; then
|
||||||
reset_romote_url ${ql_static_repo} ${url}
|
reset_romote_url ${ql_static_repo} ${url}
|
||||||
git_pull_scripts ${ql_static_repo}
|
git_pull_scripts ${ql_static_repo}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user