pure/scripts/deploy.sh
2020-05-16 11:23:09 -07:00

8 lines
275 B
Bash
Executable File

git config --global user.name "${GH_NAME}"
git config --global user.email "${GH_EMAIL}"
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
npm run prepare
cp -rf ./build/ ./site/static/css/pure/
cd site
npm install
GIT_USER="${GH_NAME}" npm run deploy