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

Open
#189 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
django, git, github-actions

Research direction

Review the GitHub Actions workflows and deployment setup across gbdev/database, the GBA repository, and gbdev/virens, focusing on push events, runscript sync_db, and the workflow_dispatch entry point. Done means tracked-database pushes pull the changed database, run the Django sync, rebuild the frontend, and document the setup and SSH-key requirements in gbdev/homebrewhub.

Written by the indexing model from the issue text.

Description

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)

Dominant language
C
Stars
95
Forks
52
Avg merge
7h 33m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gbdev/database

All issues in gbdev/database

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.