Skip to content

Commit

Permalink
ci: vars instead of env
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasGleiter committed May 9, 2024
1 parent 9f8865d commit 130a730
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest

env:
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME: ${{ env.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME }}
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME: ${{ vars.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
CLOUDINARY_FOLDER: ${{ secrets.CLOUDINARY_FOLDER }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -19,6 +17,3 @@ jobs:
- run: npm install
- run: npm run lint
- run: npm run build

- name: Run Cypress Tests
run: npm run component:headless

0 comments on commit 130a730

Please sign in to comment.