Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: a push here should trigger a backend sync_db and a frontend rebuild #189

Open
3 tasks
avivace opened this issue Jan 14, 2023 · 0 comments
Open
3 tasks

Comments

@avivace
Copy link
Sponsor Member

avivace commented Jan 14, 2023

Every push to the tracked databases (currently this repo and the GBA over https://github.com/gbadev-org/games) should trigger:

  • A git pull of database that received a push on the deployment
  • A runscript sync_db on the Django container on the deployment
  • A rebuild of the frontend. This should be feasible triggering the workflow_dispatch event over https://github.com/gbdev/virens

As such CI/CD setup this involves events and GH Actions workflows in 3 different repositories, this must be documented (ideally in the main repository, https://github.com/gbdev/homebrewhub, starting from the general idea and explaining our instance of setup/tracked database repositories + SSH keys set-up)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant