From 4f51fc2d47da775e4ea7787bf5a346f310b24978 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 2 Dec 2025 09:28:23 +0000 Subject: [PATCH] twiddle --- .forgejo/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index fc9ba6578..36bb60539 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -13,6 +13,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Debug Forgejo context + run: | + echo "EVENT_NAME = ${{ forgejo.event_name }}" + echo "REF = ${{ forgejo.ref }}" + echo "REF_NAME = ${{ forgejo.ref_name }}" - name: apt install ztd run: apt update && apt install -y zstd - uses: pnpm/action-setup@v4 @@ -27,11 +32,11 @@ jobs: - run: pnpm run lint - run: pnpm test - name: Build - if: forgejo.event_name == 'push' && forgejo.ref == 'refs/heads/main' + if: ${{ forgejo.event_name == 'push' && forgejo.ref == 'refs/heads/main' }} run: pnpm build - name: Warm deploy # automatically deploy to warm on pushes to main - if: forgejo.event_name == 'push' && forgejo.ref == 'refs/heads/main' + if: ${{ forgejo.event_name == 'push' && forgejo.ref == 'refs/heads/main' }} run: | eval $(ssh-agent -s) echo "$SSH_PRIVATE_KEY" | ssh-add -