diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index a2bc2681b..5194d6f90 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -19,8 +19,8 @@ jobs: build: | yarn yarn build-prod + yarn create_config_json cp _dist/index.html _dist/200.html rm _dist/stats.json - echo \"{}\" > _dist/config.json - name: Get the preview_url run: echo "url => ${{ steps.preview_step.outputs.preview_url }}" diff --git a/package.json b/package.json index 76a88a7db..99eb3f9f5 100644 --- a/package.json +++ b/package.json @@ -156,6 +156,7 @@ "_webpack": "webpack --config webpack.config.babel.js --output-path ./_dist", "_webpack:bookmarklet": "webpack --config webpack.bookmarklet.config.babel.js --output-path ./_dist", "analyze-webpack": "webpack-bundle-analyzer _dist/stats.json", + "create_config_json": "echo \"{}\" > ./_dist/config.json", "postinstall": "husky install" }, "author": "FreeFeed contributors",