1
0
Fork 0
docsearch/docs/scripts/deploy

13 lines
253 B
Bash
Executable file

#!/usr/bin/env sh
set -e
yarn run lint
rm -rf ./dist
yarn run build
# Add the date of last deploy, so the automatic deployment know if it needs to
# override it or not (check ./scripts/netflify-master)
date +%s > ./dist/last_update
gh-pages -d dist