mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-05-07 22:04:52 +02:00
wip
This commit is contained in:
@@ -25,7 +25,7 @@ These names are configured in the Convex dashboard for this project. **Do not pu
|
||||
## CI / GitHub integration
|
||||
|
||||
- `GITHUB_TOKEN` — GitHub API (repo scans, branches, dispatching `custom_build*.yml`)
|
||||
- `CONVEX_ENV` — e.g. `dev` selects `custom_build_test.yml` for workflow dispatch
|
||||
- `CONVEX_ENV` — when `dev`, workflow dispatch uses **`custom_build_test.yml`** on git ref **`v2`** on `MeshEnvy/mesh-forge`; otherwise **`custom_build.yml`** on **`main`**
|
||||
- `CONVEX_BUILD_TOKEN` — shared with GitHub Actions secret of the same name; bearer auth for `POST /ingest-repo-build`
|
||||
|
||||
## R2 (firmware artifacts / signed downloads)
|
||||
|
||||
+2
-1
@@ -24,9 +24,10 @@ export const dispatchRepoBuild = action({
|
||||
|
||||
const isDev = process.env.CONVEX_ENV === "dev"
|
||||
const workflowFile = isDev ? "custom_build_test.yml" : "custom_build.yml"
|
||||
const workflowRef = isDev ? "v2" : "main"
|
||||
|
||||
const payload = {
|
||||
ref: "main",
|
||||
ref: workflowRef,
|
||||
inputs: {
|
||||
owner: doc.owner,
|
||||
repo: doc.repo,
|
||||
|
||||
Reference in New Issue
Block a user