coderxio / dailymed-api

REST API for DailyMed SPLs
https://coderx.io/
MIT License
12 stars 5 forks source link

Migrate to Github Actions for testing and add new feature: deployment #39

Closed finish06 closed 4 years ago

finish06 commented 4 years ago

Fixes coderxio/dailymed-api#

Explanation

Implemented automated deployment via Github Actions. Also migrated Travis-CI to Github Actions. We can keep both for the time being while we continue to explore Github Actions.

Rationale

Github Actions secrets are built into Github and not encrypted, uploaded, etc. This makes it much easier to use Github Actions when attempting to connect to our hosting provider.

Tests

  1. Actually pushed a branch and redeployed to DO. :|
  2. Ran Github Actions tests with success.

*Unfortunately, there are considerable garbage commits as I was testing this to determine the consistent failure. Poetry defaults installs to a venv which was causing all the failures.