Skip to content

Commit b33460f

Browse files
committed
Ignore large files
1 parent e2ea414 commit b33460f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-production.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ jobs:
9191
9292
- run: npm install
9393

94+
- name: Patch Gatsby Config
95+
run: |
96+
sed -i.bak "s|path: \`\${__dirname}/content\`,\s*}|path: \`\${__dirname}/content\`,\n ignore: [\`**/*.zip\`, \`**/*.mp4\`, \`**/*.pdf\`, \`**/*.gif\`]\n }|" gatsby-config.js
97+
9498
- name: Build with increased memory
9599
env:
96100
NODE_OPTIONS: --max-old-space-size=12288

0 commit comments

Comments
 (0)