"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "f0d1f62f49de98d6c743f31f5319c840fc98c79b"
Unverified Commit 6545b084 authored by Wenhao Xie's avatar Wenhao Xie Committed by GitHub
Browse files

[CI] fix docs ci (#720)

parent f5fca05b
......@@ -27,11 +27,10 @@ jobs:
TARGET_REPO: ${{ secrets.TARGET_REPO }}
TARGET_TOKEN: ${{ secrets.TARGET_TOKEN }}
run: |
git clone https://github.com/${TARGET_REPO}.git -b main target_repo
cd target_repo
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git clone https://github.com/${TARGET_REPO}.git target_repo
cd target_repo
git checkout main
find . -mindepth 1 -maxdepth 1 ! -name ".github" ! -name "." ! -name ".git" -exec rm -rf {} +
cp -r ../docs/_build/html/* ./
git add .
......
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