From 326b882cf27a3f445f625aee773af41769b32e36 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Fri, 29 May 2026 13:07:30 -0700 Subject: [PATCH] fix: pass NUM_WORKERS and TURNSTILE_SITE_KEY to release deploy steps Both vars are written to the container env file by deploy.sh but were missing from the env: blocks of all four deploy jobs in release.yml, causing the server to crash on boot with "NUM_WORKERS not set". --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cca6a1828..c5f757763 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,6 +72,8 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }} OTEL_AUTH_HEADER: ${{ secrets.OTEL_AUTH_HEADER }} API_KEY: ${{ secrets.API_KEY }} + NUM_WORKERS: ${{ vars.NUM_WORKERS }} + TURNSTILE_SITE_KEY: ${{ vars.TURNSTILE_SITE_KEY }} SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }} SSH_KEY: ~/.ssh/id_rsa run: | @@ -122,6 +124,8 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }} OTEL_AUTH_HEADER: ${{ secrets.OTEL_AUTH_HEADER }} API_KEY: ${{ secrets.API_KEY }} + NUM_WORKERS: ${{ vars.NUM_WORKERS }} + TURNSTILE_SITE_KEY: ${{ vars.TURNSTILE_SITE_KEY }} SERVER_HOST_FALK2: ${{ secrets.SERVER_HOST_FALK2 }} SSH_KEY: ~/.ssh/id_rsa run: | @@ -172,6 +176,8 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }} OTEL_AUTH_HEADER: ${{ secrets.OTEL_AUTH_HEADER }} API_KEY: ${{ secrets.API_KEY }} + NUM_WORKERS: ${{ vars.NUM_WORKERS }} + TURNSTILE_SITE_KEY: ${{ vars.TURNSTILE_SITE_KEY }} SERVER_HOST_FALK2: ${{ secrets.SERVER_HOST_FALK2 }} SSH_KEY: ~/.ssh/id_rsa run: | @@ -222,6 +228,8 @@ jobs: OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }} OTEL_AUTH_HEADER: ${{ secrets.OTEL_AUTH_HEADER }} API_KEY: ${{ secrets.API_KEY }} + NUM_WORKERS: ${{ vars.NUM_WORKERS }} + TURNSTILE_SITE_KEY: ${{ vars.TURNSTILE_SITE_KEY }} SERVER_HOST_FALK2: ${{ secrets.SERVER_HOST_FALK2 }} SSH_KEY: ~/.ssh/id_rsa run: |