From fec98b0b1f7cacfc69846ea79b2f92fa653c07b2 Mon Sep 17 00:00:00 2001 From: redonkulus Date: Sat, 16 May 2020 11:18:43 -0700 Subject: [PATCH] ci: run build --- .travis.yml | 1 + scripts/deploy.sh | 1 + 2 files changed, 2 insertions(+) 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