Skip to content

Commit 2fd4ddc

Browse files
authored
Merge pull request #41 from codebtech/feat/create-build
unstage husky and node_modules
2 parents c61bc22 + 39d9823 commit 2fd4ddc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.circleci export-ignore
2+
node_modules export-ignore

.github/workflows/plugin-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
- name: Create and push built branch
4343
run: |
4444
git checkout -b main-built
45+
git reset -- .husky/ # Unstage the .husky directory
46+
git reset -- node_modules/ # Unstage the node_modules directory
4547
git add -A # Stage all changes, including untracked files
4648
git ls-files --ignored --exclude-standard -o -z | xargs -0 git rm --cached # Remove ignored files from the index
4749
git commit -m "Built WordPress plugin"

0 commit comments

Comments
 (0)