Skip to content

Commit f35fcc2

Browse files
committed
Ignore empty directory in docs workflow
1 parent d71ce44 commit f35fcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
cd docs-repo
3232
git checkout --orphan new-branch
3333
sudo chown -R $(whoami):$(whoami) ../docs
34-
git rm -rf .
34+
git rm -rf . || true
3535
mv ../docs/* ./
3636
git config user.name "GitHub Actions Bot"
3737
git config user.email "<>"

0 commit comments

Comments
 (0)