Github Integration ignores .shopifyignore

maybach391
Shopify Partner
6 0 1

I’m using the Shopify <> Github integration for the main branch. We have build files, which shouldn’t be in the repository. We are using a Github Action, which creates and deploys the build files to the live theme. That leads to, that the Github integration adding the build files back to the repository, although the `.shopifyignore` listing these files explicit.

 

.shopifyignore:

package.json
src/
assets/checkout.bundle.js
assets/checkout.bundle.js.map
assets/checkout-legacy.bundle.js
assets/checkout-legacy.bundle.js.map
assets/components.bundle.js
assets/components.bundle.js.map
assets/components-legacy.bundle.js
assets/components-legacy.bundle.js.map
assets/index.css
assets/index.css.map

maybach391_0-1705929668733.png

 

These files are of course also in the .gitignore and we don’t commit these. But Shopify is still pushing these back into the repository.

 

Replies 0 (0)