Skip to content

Commit

Permalink
Add gitignore whitelist with newline prepended
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 16, 2024
1 parent ef0aaca commit 2603568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
- name: Override .gitignore for deployment
run: |
echo "!node_modules/todomvc*/**" >> .gitignore
echo "!/js/" >> .gitignore
printf "\n!node_modules/todomvc*/**\n" >> .gitignore
printf "!/js/\n" >> .gitignore
- name: Deploy app to gh-pages
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 2603568

Please sign in to comment.