travis-deploy 318 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. set -o pipefail
  3. set -o errexit
  4. set -o nounset
  5. # set -o xtrace
  6. if [ -z "${WEBSITE-}" ]; then exit 0; fi
  7. git config --global user.name 'Uppy Bot'
  8. git config --global user.email 'uppybot@uppy.io'
  9. # because a Travis deploy script has to be a real file
  10. npm run web:install
  11. npm run web:deploy --quiet