From 4c648150b24c7d0c25f1706d6cf6271949eb5c04 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 1 Apr 2026 00:38:12 -0700 Subject: [PATCH 1/2] CI: add debug job to check context variables --- .gitea/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 410e5e8..c76483b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -39,6 +39,17 @@ jobs: env: NODE_OPTIONS: "--max-old-space-size=4096" + debug-context: + runs-on: ubuntu-latest + steps: + - name: Show context variables + run: | + echo "github.ref=${{ github.ref }}" + echo "github.ref_name=${{ github.ref_name }}" + echo "github.event_name=${{ github.event_name }}" + echo "github.repository=${{ github.repository }}" + echo "github.sha=${{ github.sha }}" + deploy: if: github.ref == 'refs/heads/main' && github.event_name == 'push' needs: [test-and-build] From 5accba29fa4b22e95dc4830c321a41a2055f1002 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 1 Apr 2026 00:42:37 -0700 Subject: [PATCH 2/2] CI: fix deploy condition syntax for Gitea Actions --- .gitea/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c76483b..9887338 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -39,19 +39,8 @@ jobs: env: NODE_OPTIONS: "--max-old-space-size=4096" - debug-context: - runs-on: ubuntu-latest - steps: - - name: Show context variables - run: | - echo "github.ref=${{ github.ref }}" - echo "github.ref_name=${{ github.ref_name }}" - echo "github.event_name=${{ github.event_name }}" - echo "github.repository=${{ github.repository }}" - echo "github.sha=${{ github.sha }}" - deploy: - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} needs: [test-and-build] runs-on: ubuntu-latest container: