Shadblade5 / Arma-Bot

Discord bot design for the Arma 3 unit, Redline Combat Operations Group (RCOG)
2 stars 0 forks source link

Transition to using github secrets to store configuration for bot token, command prefix, db info, etc. #5

Closed NBurley93 closed 1 year ago

NBurley93 commented 1 year ago

Currently the bot is configured to use a plain-text JSON file to store configuration info. This is bad for deployment pipelines, and even worse for security if it is decided to store the file persistently.

Having these as github secrets means that in order for those changes to be made, simply changing them here in github and then running a redeploy should be all that is needed to reflect those changes.

The following keys should be added:

Once this is done, the github deployment workflow can be updated to provide those secrets when deploying the container.

Completion Criteria:

Shadblade5 commented 1 year ago

Not sure why the current implementation doesn't work... I'll have another knack at it with a fresh mind later