fix: not delete CNAME (#2860)

This commit is contained in:
Yineng Zhang
2025-01-13 18:36:40 +08:00
committed by GitHub
parent 42f3909963
commit 20a9f5dfe0

View File

@@ -49,7 +49,7 @@ jobs:
cd _build/html
git clone https://$GITHUB_TOKEN@github.com/sgl-project/sgl-project.github.io.git ../sgl-project.github.io --depth 1
rm -rf ../sgl-project.github.io/*
find ../sgl-project.github.io/ -mindepth 1 -not -name CNAME -delete
cp -r * ../sgl-project.github.io
cp ../../README.md ../sgl-project.github.io/README.md
cd ../sgl-project.github.io