Skip to content

Commit

Permalink
Clear the previous production branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex authored Dec 11, 2023
1 parent 8241f62 commit 45f3ffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git branch --delete production
git checkout -b production # Replace 'documentation' with the desired branch name
find . -type f ! -regex '^./site\(/.*\)?' ! -name '.*' -exec echo {} +
find . -type f ! -regex '^./site\(/.*\)?' ! -name '.*' -exec rm -f {} +
Expand Down

0 comments on commit 45f3ffe

Please sign in to comment.