ci: run build

This commit is contained in:
redonkulus 2020-05-16 11:18:43 -07:00
parent 2e49130c27
commit fec98b0b1f
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ script:
- npm t - npm t
deploy: deploy:
provider: script provider: script
skip_cleanup: true
script: scripts/deploy.sh script: scripts/deploy.sh
on: on:
branch: master branch: master

View File

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