Run git pull before deploying

This commit is contained in:
Gary Wang 2020-09-28 20:46:36 -07:00
parent e4bd6b27aa
commit 606699a9e0
1 changed files with 1 additions and 1 deletions

View File

@ -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",