Skip to content

Commit

Permalink
wildcard match hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex authored Dec 12, 2023
1 parent 6e762f7 commit 0f441f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# git branch --delete production
git checkout -b production # Replace 'documentation' with the desired branch name
# git checkout production
find . -type f ! -regex '^./site\(/.*\)?' ! -path './.*/' -exec echo {} +
find . -type f ! -regex '^./site\(/.*\)?' ! -path './.*/' -exec rm -f {} +
find . -type f ! -regex '^./site\(/.*\)?' ! -path './.*/*' -exec echo {} +
find . -type f ! -regex '^./site\(/.*\)?' ! -path './.*/*' -exec rm -f {} +
# rm -rf docs
mv site docs
Expand Down

0 comments on commit 0f441f0

Please sign in to comment.