Daily backups and diffs of ONCE Campfire source code
When you purchase Campfire from 37Signals, you will be able to download the source code. This download is a ZIP file and includes no git information. You do need to include your purchase token in the url of the download and if valid the source zip will download.
You are permitted of course to push that code to your own private git repository. By adding the Github Action workflow file below to your PRIVATE Campfire repo, Github Actions will download the ONCE Campfire code, unzip it, and then push a commit with todays date. You will then have nice diffs of changes made to the source. If there is no changes then no action will be taken.
You will need to add your PURCHASE_TOKEN into the Actions secrets in your github repo secrets.
Thanks to Dave Kimura from Drifting Ruby for helping me test this out and make suggestions.
* Keep your PURCHASE_TOKEN and Github repo private.
Let me know if you can think of anything to add to this.
About Rob Zolkos
Ruby on Rails developer here to help solo devs and small teams amplify their impact. Embracing the Rails way with Hotwire and Stimulus. Email: robzolkos@hey.com Twitter: https://twitter.com/robzolkos