From 6a0ee12efc4cad4f16fb2935f81f1fc880afd4c9 Mon Sep 17 00:00:00 2001 From: penrodlol Date: Sun, 30 Jun 2024 20:28:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20env=20doesnt=20seem=20to=20work.?= =?UTF-8?q?..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/db.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/db.yml b/.github/workflows/db.yml index 8cc8a4c..dac5d0b 100644 --- a/.github/workflows/db.yml +++ b/.github/workflows/db.yml @@ -2,7 +2,6 @@ name: Astro DB env: ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }} - ASTRO_STUDIO_EXECUTE_SEED: ${{github.event_name == 'push' && github.ref == 'refs/heads/main'}} on: push: @@ -25,5 +24,5 @@ jobs: node-version: 20 - uses: jaid/action-npm-install@v1.2.1 - uses: withastro/action-studio@main - - if: ${{ env.ASTRO_STUDIO_EXECUTE_SEED }} + - if: ${{github.event_name == 'push' && github.ref == 'refs/heads/main'}} run: npx astro db execute db/seed.prod.ts --remote