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