修改static仓储到github

This commit is contained in:
hanhh
2021-05-20 17:49:54 +08:00
parent 95f8e9953a
commit 65bc4c40e9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -21,7 +21,8 @@ jobs:
- name: copy to static repo
env:
GITHUB_REPO: gitee.com/whyour/qinglong-static
# GITHUB_REPO: gitee.com/whyour/qinglong-static
GITHUB_REPO: github.com/whyour/qinglong-static
run: |
mkdir -p static
cd ./static
@@ -29,6 +30,5 @@ jobs:
git init && git add .
git config user.name "whyour"
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 push --force --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master