diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3fb2af0003..bfb6572675 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -231,6 +231,8 @@ jobs: node-version: 16.x - name: Install dependencies run: yarn install --frozen-lockfile + - name: delete headers file + run: rm -f static/_headers - name: yarn build env: GATSBY_GITHUB_CLIENT_SECRET: ${{secrets.GATSBY_GITHUB_CLIENT_SECRET}} diff --git a/.github/workflows/previewDeploy.yml b/.github/workflows/previewDeploy.yml index 1ccc0d2c87..37d9c2c46b 100644 --- a/.github/workflows/previewDeploy.yml +++ b/.github/workflows/previewDeploy.yml @@ -527,6 +527,8 @@ jobs: node-version: 16.x - name: install dependencies run: yarn install --frozen-lockfile + - name: delete headers file + run: rm -f static/_headers - name: yarn build env: GATSBY_GITHUB_CLIENT_SECRET: ${{secrets.GATSBY_GITHUB_CLIENT_SECRET}} diff --git a/src/html.tsx b/src/html.tsx index 06b433b273..4002dc3826 100644 --- a/src/html.tsx +++ b/src/html.tsx @@ -32,10 +32,7 @@ const HTML = ({
{preBodyComponents} - +