diff --git a/.github/workflows/plugin-build.yml b/.github/workflows/plugin-build.yml index 4eb45b4..9acc643 100644 --- a/.github/workflows/plugin-build.yml +++ b/.github/workflows/plugin-build.yml @@ -42,9 +42,9 @@ jobs: - name: Create and push built branch run: | git checkout -b main-built + git add -A # Stage all changes, including untracked files git reset -- .husky/ # Unstage the .husky directory git reset -- node_modules/ # Unstage the node_modules directory - git add -A # Stage all changes, including untracked files git ls-files --ignored --exclude-standard -o -z | xargs -0 git rm --cached # Remove ignored files from the index git commit -m "Built WordPress plugin" git push origin main-built