chekos / RIPA-2018-datasette

Publishing datasette of CA's RIPA 2018 data
http://ripa-2018.datasettes.cimarron.io/
GNU General Public License v3.0
0 stars 0 forks source link

Deploying to Heroku reference #4

Closed chekos closed 4 years ago

chekos commented 4 years ago

https://dev.to/heroku/deploying-to-heroku-from-github-actions-29ej

chekos commented 4 years ago

to deploy to heroku we need heroku login with the env HEROKU_API_KEY but also we need to install heroku-builds heroku plugins:install heroku-builds

to deploy to heroku with github actions 3 commands ran:

  1. heroku login
  2. heroku plugins:install heroku-builds
  3. sh heroku_deploy.sh (which it's just calling datasette publish heroku + all the flags