Skip to content

Commit

Permalink
🐛 env doesnt seem to work...
Browse files Browse the repository at this point in the history
  • Loading branch information
penrodlol committed Jul 1, 2024
1 parent 81ea721 commit 6a0ee12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 6a0ee12

Please sign in to comment.