Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
5f45b0ca
Commit
5f45b0ca
authored
Jan 26, 2025
by
Wenhao Xie
Committed by
GitHub
Jan 26, 2025
Browse files
[CI] Clean up target repository before publishing documentation. (#55)
parent
f944b79e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
.github/workflows/publish_docs.yml
.github/workflows/publish_docs.yml
+1
-0
No files found.
.github/workflows/publish_docs.yml
View file @
5f45b0ca
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment