Skip to content

Commit b3c0349

Browse files
ci: exclude README
1 parent c3c6e6d commit b3c0349

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/push-to-hf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
[[ -d hf-repo ]] && rm -rf hf-repo
4444
git clone https://huggingface.co/${HF_REPO_TYPE}/${HF_REPO_ID} hf-repo
4545
46-
rsync -a --delete --exclude='.git' --exclude='hf-repo' ./ hf-repo/
46+
rsync -a --delete --exclude='.git' --exclude='hf-repo' --exclude='README.md' ./ hf-repo/
4747
4848
cd hf-repo
4949
git add .

.github/workflows/push-to-ms.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ jobs:
3838
MS_REPO_TYPE: studios
3939
MS_REPO_ID: chenzihong/GraphGen
4040
run: |
41-
# Use token in the clone URL, do not write credentials to disk
4241
[[ -d ms-repo ]] && rm -rf ms-repo
4342
git clone https://oauth2:${MS_TOKEN}@www.modelscope.cn/${MS_REPO_TYPE}/${MS_REPO_ID}.git ms-repo
4443
45-
rsync -a --delete --exclude='.git' --exclude='ms-repo' ./ ms-repo/
44+
rsync -a --delete --exclude='.git' --exclude='ms-repo' --exclude='README.md' ./ ms-repo/
4645
4746
cd ms-repo
4847
git add .

0 commit comments

Comments
 (0)