diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8fad84d..1a38b1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,10 @@ on: jobs: build: runs-on: ubuntu-latest + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + DIRECT_URL: ${{ secrets.DIRECT_URL }} + GROQ_API_ENDPOINT: ${{ secrets.GROQ_API_ENDPOINT }} steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f9d3ed6..e26b535 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,10 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: runs-on: ubuntu-latest + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + DIRECT_URL: ${{ secrets.DIRECT_URL }} + GROQ_API_ENDPOINT: ${{ secrets.GROQ_API_ENDPOINT }} steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 @@ -33,3 +37,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} +