tintinnabulate / registration-webapp

A registration webapp, written in Go. Takes payments with Stripe.
2 stars 0 forks source link

Add the bundling of CI secrets into Makefile or something #64

Open tintinnabulate opened 3 years ago

tintinnabulate commented 3 years ago

Currently secrets.tar.enc is created manually from commandline - it would be nice to create this in the Makefile, or even nicer, by a git pre-commit hook, so that it is ready in time continuous integration test suite.

tintinnabulate commented 3 years ago

Implementing this will prevent build failures such as #67.

tintinnabulate commented 3 years ago
$ sudo gem install travis
$ firefox https://github.com/settings/tokens # generate new token
$ travis login --org --github-token <token>
$ tar cvf secrets.tar config.json fanjoula.json
$ travis encrypt-file secrets.tar
$ git add secrets.tar.enc