diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 35938ba8cb..7405d018f6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,7 +47,7 @@ jobs: run: npm install netlify-cli -g - name: Build using Netlify - run: netlify build --context deploy-preview + run: netlify build --context deploy-preview --offline env: NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index c75a906d7a..c5d5c65b66 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -46,7 +46,7 @@ jobs: run: npm install netlify-cli -g - name: Build using Netlify - run: netlify build --context deploy-preview + run: netlify build --context deploy-preview --offline working-directory: site/gatsby-site env: INSTRUMENT: true