Skip to content

Commit

Permalink
Update copy_stoplight_docs.yml
Browse files Browse the repository at this point in the history
Leaving git files
  • Loading branch information
StefanoStream authored Dec 10, 2024
1 parent b8419f7 commit 1dc5d27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/copy_stoplight_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
git push origin stoplight_docs --force
- name: Removing all files except Markdown Files
run: |
find . -mindepth 1 -type f ! -name "*.md" -delete
find . -mindepth 1 -type d -exec rm -rf {} +
find . -mindepth 1 -type f \( -not -name "*.md" -and -not -name ".gitignore" \) -delete -o -type d \( -not -name ".git" -and -not -name ".github" \) -exec rm -rf {} +
- name: Commit Changes
run: |
git add .
Expand Down

0 comments on commit 1dc5d27

Please sign in to comment.