ci: fix deploy job name expression #19

Merged
barrettruth merged 1 commit from ci/fix-deploy-job-name into main 2026-05-03 19:01:36 +00:00
Owner

Problem

The consolidated deploy workflow uses one publish job with a dynamic job name. On main pushes, Forgejo rendered the job as deploy / LuaRocks instead of deploy / Nightly, even though the step-level github.ref conditions still selected the correct publish path.

Solution

Use github.ref for the job-name expression, matching the step conditions and the runner-provided compatibility context. This keeps the one-file deploy.yaml layout while preserving the expected rendered names.

Validation:

  • parsed .forgejo/workflows/*.yaml with PyYAML via Nix
  • git diff --check
## Problem The consolidated deploy workflow uses one publish job with a dynamic job name. On main pushes, Forgejo rendered the job as `deploy / LuaRocks` instead of `deploy / Nightly`, even though the step-level `github.ref` conditions still selected the correct publish path. ## Solution Use `github.ref` for the job-name expression, matching the step conditions and the runner-provided compatibility context. This keeps the one-file `deploy.yaml` layout while preserving the expected rendered names. Validation: - parsed `.forgejo/workflows/*.yaml` with PyYAML via Nix - `git diff --check`
ci: fix deploy job name expression
All checks were successful
quality / Format (pull_request) Successful in 4s
quality / Lint (pull_request) Successful in 4s
quality / Test (pull_request) Successful in 5s
82cdd9e8f3
barrettruth deleted branch ci/fix-deploy-job-name 2026-05-03 19:01:37 +00:00
Sign in to join this conversation.
No description provided.