mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 14:20:45 +00:00
b6ec41f350
## Description: Adds a github workflow to deploy changes to staging or production. ## Steps to enable this workflow 1. Create two github environments at https://github.com/openfrontio/OpenFrontIO/settings/environments. - They have to be named `production` and `staging`, unless you modify the yaml. 2. In each github environment, create two two variables: - `DOCKERHUB_REPO` - `DOCKERHUB_USERNAME` 3. In each github environment, create four secrets: - `DOCKERHUB_TOKEN` - `SERVER_HOST` - `SERVER_USERNAME` - `SSH_PRIVATE_KEY` Fixes #504 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: fake.neo Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>