tomwayson / create-arcgis-app

An example of how to use the ArcGIS platform in an application created with Create React App and React Router
https://create-arcgis-app.surge.sh/
23 stars 8 forks source link

chore: have travis deploy to surge on merging to master #17

Open tomwayson opened 5 years ago

tomwayson commented 5 years ago

I think we basically just need to append the following:

  - yarn run build
deploy:
  provider: surge
  skip_cleanup: true
  domain: create-arcgis-app.surge.sh
  project: ./build/
on:
  branch: master

However, we'll need to clean up linting warnings b/c they currently fail the build in CI:

https://travis-ci.com/tomwayson/create-arcgis-app/builds/98852243