pure/.travis.yml
2020-05-11 11:07:11 -07:00

12 lines
315 B
YAML

language: node_js
node_js:
- 12
branches:
only:
- master
script:
- 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
- cd site && npm install && GIT_USER="${GH_NAME}" npm run deploy