CI: fix deploy condition syntax for Gitea Actions
CI/CD / test-and-build (push) Failing after 2m30s Details
CI/CD / deploy (push) Has been skipped Details

This commit is contained in:
Jeff Emmett 2026-04-01 00:42:37 -07:00
parent 4c648150b2
commit 5accba29fa
1 changed files with 1 additions and 12 deletions

View File

@ -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: