From 6e5a6b7c4fcf496bd66a1a1ce410ac112d585a28 Mon Sep 17 00:00:00 2001 From: FindMalek Date: Sun, 8 Sep 2024 23:11:26 +0100 Subject: [PATCH] fix: added new envs --- .github/workflows/main.yml | 4 ++++ .github/workflows/publish.yml | 5 +++++ 2 files changed, 9 insertions(+) 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 }} +