mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +08:00
CI: when deploying to git, clone w/o tags
This commit is contained in:
parent
e1e7c9450a
commit
4f6f1fd017
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
|||||||
- name: Upload Dist to GitLab
|
- name: Upload Dist to GitLab
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
git clone --filter=tree:0 https://${GITLAB_TOKEN_NAME}:${GITLAB_TOKEN}@gitlab.com/SukkaW/ruleset.skk.moe.git ./deploy-git
|
git clone --filter=tree:0 --no-tags --prune https://${GITLAB_TOKEN_NAME}:${GITLAB_TOKEN}@gitlab.com/SukkaW/ruleset.skk.moe.git ./deploy-git
|
||||||
cd ./deploy-git
|
cd ./deploy-git
|
||||||
git config --global push.default matching
|
git config --global push.default matching
|
||||||
git config --global user.email "${GITLAB_EMAIL}"
|
git config --global user.email "${GITLAB_EMAIL}"
|
||||||
@ -150,7 +150,7 @@ jobs:
|
|||||||
- name: Upload Dist to GitHub
|
- name: Upload Dist to GitHub
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
git clone --filter=tree:0 https://${GH_USER}:${GH_TOKEN}@github.com/SukkaLab/ruleset.skk.moe.git ./deploy-git
|
git clone --filter=tree:0 --no-tags --prune https://${GH_USER}:${GH_TOKEN}@github.com/SukkaLab/ruleset.skk.moe.git ./deploy-git
|
||||||
cd ./deploy-git
|
cd ./deploy-git
|
||||||
git config --global push.default matching
|
git config --global push.default matching
|
||||||
git config --global user.email "${GH_EMAIL}"
|
git config --global user.email "${GH_EMAIL}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user