From 130a730f8b74f87525e44c86c7a5708f4341956a Mon Sep 17 00:00:00 2001 From: Tobias Gleiter Date: Thu, 9 May 2024 10:06:11 +0200 Subject: [PATCH] ci: vars instead of env --- .github/workflows/{ci.yml => build.yml} | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) rename .github/workflows/{ci.yml => build.yml} (75%) diff --git a/.github/workflows/ci.yml b/.github/workflows/build.yml similarity index 75% rename from .github/workflows/ci.yml rename to .github/workflows/build.yml index b506f9b..cd3c413 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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