Skip to content

Commit fddbc97

Browse files
author
Emmanuel Morales
committed
Update deploy to delete gh-pages branch and recreate
1 parent ff5b631 commit fddbc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bulid:microfrontends": "run-p build:microfrontend1 build:microfrontend2",
1313
"build:microfrontend1": "./microfrontend1/node_modules/.bin/webpack --config ./microfrontend1/webpack.config.js",
1414
"build:microfrontend2": "./microfrontend2/node_modules/.bin/webpack --config ./microfrontend2/webpack.config.js",
15-
"deploy": "git subtree push --prefix dist origin gh-pages",
15+
"deploy": "git push origin :gh-pages && git subtree push --prefix dist origin gh-pages",
1616
"test": "echo \"Error: no test specified\" && exit 1"
1717
},
1818
"keywords": [],

0 commit comments

Comments
 (0)