Skip to content

Commit

Permalink
Create empty config.json by yarn script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmz committed Dec 7, 2021
1 parent f16df42 commit fd128d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fd128d3

Please sign in to comment.