diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index cb8e0a0..0ff5be1 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -4,9 +4,10 @@ on: workflow_dispatch: inputs: version: - description: 'Version tag (e.g., v0.1.0)' + description: 'Git tag to create for this deploy (e.g. v0.1.2) — not the branch/tag above' required: true default: 'v0.1.0' + type: string jobs: deploy: diff --git a/README.md b/README.md index 07450cd..2d4d3d2 100644 --- a/README.md +++ b/README.md @@ -386,7 +386,9 @@ Before the first deploy, complete these steps on the production server (`srvr.nu 1. Go to **Actions → Deploy to Production** in Forgejo. 2. Click **Run workflow**. -3. Enter a version tag (e.g., `v0.1.0`). +3. Fill in both fields (Forgejo requires `type` on inputs — see `deploy.yml`): + - **Use workflow from:** `master` (which commit to build). Do not confuse this with the deploy tag below. + - **Version tag:** label created by the pipeline (e.g. `v0.1.2`). Change this each release; default `v0.1.0` is only a placeholder. 4. Click **Run workflow**. ### Deploy failed (backend health check)