barrettj12 / chords

A web app for viewing my chord collection.
https://chords.fly.dev
GNU Affero General Public License v3.0
0 stars 0 forks source link

Only deploy when certain files change #11

Closed barrettj12 closed 1 year ago

barrettj12 commented 2 years ago

Some of the files in the repo won't affect the Fly image. Hence, we don't need to trigger a new deploy for these.

Include:

Ignore:

*** possible issue if the tests fail, blocking a deploy, then we fix the tests, which should allow the deploy to go through. Worst case we can always deploy manually though.

barrettj12 commented 1 year ago

Maybe we could check the SHA of the built Fly image (or the built Go binary), and only do a deploy if that has changed.