From 501ef638518821948245fdfb9685318e19455a4b Mon Sep 17 00:00:00 2001 From: Nichole Frey Date: Sat, 4 May 2024 14:32:34 -0400 Subject: [PATCH] Revert "gh secrets aren't accessible; try the secrets-to-env plugin" This reverts commit 7e0fd73e632ae28707af9579c1e86ad95ad8428a. --- .github/workflows/workflow.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 59f1ecf..3c4d5ee 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -8,10 +8,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: oNaiPs/secrets-to-env-action@v1 - with: - secrets: ${{ toJSON(secrets) }} - - run: echo "Value of NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME: $NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME" - name: Enable Corepack run: corepack enable - name: Use Node.js @@ -21,6 +17,11 @@ jobs: cache: 'yarn' - run: yarn install --immutable - name: Run Tests + env: + NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME: ${{ secrets.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME }} + NEXT_PUBLIC_SITE_URL: ${{ secrets.NEXT_PUBLIC_SITE_URL }} + NEXT_PUBLIC_GOOGLE_AUTHENTICATION: ${{ secrets.NEXT_PUBLIC_GOOGLE_AUTHENTICATION }} + NEXT_PUBLIC_SMALLCHAT_ENABLED: ${{ secrets.NEXT_PUBLIC_SMALLCHAT_ENABLED }} run: yarn test - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4