"git@developer.sourcefind.cn:OpenDAS/tilelang.git" did not exist on "37051417b7db8be9356a1910d8a212e59c0a82f1"
Commit 5f45b0ca authored by Wenhao Xie's avatar Wenhao Xie Committed by GitHub
Browse files

[CI] Clean up target repository before publishing documentation. (#55)

parent f944b79e
...@@ -33,6 +33,7 @@ jobs: ...@@ -33,6 +33,7 @@ jobs:
git clone https://github.com/${TARGET_REPO}.git target_repo git clone https://github.com/${TARGET_REPO}.git target_repo
cd target_repo cd target_repo
git checkout main git checkout main
find . -mindepth 1 -maxdepth 1 ! -name ".github" ! -name "." ! -name ".git" -exec rm -rf {} +
cp -r ../docs/_build/html/* ./ cp -r ../docs/_build/html/* ./
git add . git add .
if [[ -n "$(git status --porcelain)" ]]; then if [[ -n "$(git status --porcelain)" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment