Run git pull before deploying
This commit is contained in:
parent
e4bd6b27aa
commit
606699a9e0
|
@ -28,7 +28,7 @@
|
||||||
"styled-components": "^5.1.1"
|
"styled-components": "^5.1.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"predeploy": "yarn build",
|
"predeploy": "git pull --ff-only && yarn build",
|
||||||
"deploy": "gh-pages -d build",
|
"deploy": "gh-pages -d build",
|
||||||
"start": "craco start",
|
"start": "craco start",
|
||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
|
|
Loading…
Reference in New Issue