File tree Expand file tree Collapse file tree 2 files changed +27
-5
lines changed
Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 11.gitignore
22composer.lock
3- phpcs.xml*
3+ phpcs.xml
44.babelrc
55.env.dist
66.editorconfig
@@ -12,3 +12,20 @@ docker-compose.yml
1212docker
1313test_results
1414node_modules
15+ .DS_Store
16+ .husky
17+ jest-setup.js
18+ jest.config.js
19+ local
20+ phpmd.xml.dist
21+ phpstan.neon.dist
22+ phpunit-integration-multisite.xml
23+ phpunit-integration.xml
24+ phpunit.xml
25+ playwright.config.ts
26+ tsconfig.json
27+ .nvmrc
28+ types
29+ tests
30+ src
31+ bin
Original file line number Diff line number Diff line change @@ -39,12 +39,17 @@ jobs:
3939 - name : JS build
4040 run : yarn build
4141
42+ - name : Apply deployignore
43+ run : |
44+ FILE=.deployignore
45+ if [ -f "$FILE" ]; then
46+ cat .deployignore | xargs rm -rf
47+ fi
48+
4249 - name : Create and push built branch
4350 run : |
44- git checkout -b main-built
51+ git checkout main-built
4552 git add -A # Stage all changes, including untracked files
46- git rm --cached -r .husky || true
47- git rm --cached -r node_modules || true
4853 git ls-files --ignored --exclude-standard -o -z | xargs -0 git rm --cached # Remove ignored files from the index
49- git commit -m "Built WordPress plugin"
54+ git commit -m "Built WordPress plugin" --no-verify
5055 git push origin main-built
You can’t perform that action at this time.
0 commit comments