ci: consolidate deploy workflow #31

Merged
barrettruth merged 1 commit from ci/consolidate-deploy-workflow into main 2026-05-03 18:51:08 +00:00
Owner

Problem

LuaRocks stable and nightly deploys are still split across .forgejo/workflows/luarocks.yaml and .forgejo/workflows/luarocks-nightly.yaml, even though both are one deploy surface and already share the same quality gate/action.

Solution

Replace both files with .forgejo/workflows/deploy.yaml. The workflow uses one publish job with a dynamic job name, so main pushes render as deploy / Nightly and tag pushes render as deploy / LuaRocks without keeping two workflow files. Step-level conditions select the nightly or stable LuaRocks publish path.

Validation:

  • bash -n .forgejo/scripts/wait-for-quality.sh
  • parsed .forgejo/workflows/*.yaml with PyYAML via Nix
  • git diff --check
## Problem LuaRocks stable and nightly deploys are still split across `.forgejo/workflows/luarocks.yaml` and `.forgejo/workflows/luarocks-nightly.yaml`, even though both are one deploy surface and already share the same quality gate/action. ## Solution Replace both files with `.forgejo/workflows/deploy.yaml`. The workflow uses one publish job with a dynamic job name, so main pushes render as `deploy / Nightly` and tag pushes render as `deploy / LuaRocks` without keeping two workflow files. Step-level conditions select the nightly or stable LuaRocks publish path. Validation: - `bash -n .forgejo/scripts/wait-for-quality.sh` - parsed `.forgejo/workflows/*.yaml` with PyYAML via Nix - `git diff --check`
ci: consolidate deploy workflow
All checks were successful
quality / Lint (pull_request) Successful in 11s
quality / Format (pull_request) Successful in 15s
f5824e9bac
barrettruth deleted branch ci/consolidate-deploy-workflow 2026-05-03 18:51:08 +00:00
Sign in to join this conversation.
No description provided.