Skip to content

Commit

Permalink
Revert "gh secrets aren't accessible; try the secrets-to-env plugin"
Browse files Browse the repository at this point in the history
This reverts commit 7e0fd73.
  • Loading branch information
nicholeuf committed May 4, 2024
1 parent 9384ec7 commit 501ef63
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 501ef63

Please sign in to comment.