diff --git a/.travis.yml b/.travis.yml index 7a483a1..6e1db8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ script: - npm t deploy: provider: script + skip_cleanup: true script: scripts/deploy.sh on: branch: master \ No newline at end of file diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 4f9db97..094d52e 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,6 +1,7 @@ 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/ ./static/css/pure/ cd site npm install