open-duelyst / duelyst

Duelyst is a digital collectible card game and turn-based strategy hybrid, developed by Counterplay Games.
Creative Commons Zero v1.0 Universal
3.65k stars 562 forks source link

[P1] Automate deployments with Github Actions #76

Closed willroberts closed 3 months ago

willroberts commented 2 years ago

Pulling this work out of #69 and #3 to reduce their scope.

We should automate the process of deploying OpenDuelyst when a new release is published on Github.

This can be done by creating an Actions workflow for the release event, and having that action publish container to ECR. If ECS is using the latest version of the container, I believe it will be able to pull it down automatically. If not, it will still be doable with a small amount of work.

willroberts commented 2 years ago

Deployment currently involves the following:

Git steps:

Steps which can be automated:

willroberts commented 2 years ago

This is now better-documented here: https://github.com/open-duelyst/duelyst/blob/main/docs/DEPLOYING.md

This automation work can begin once we have permissions to access (read and write) Github Secrets.