diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19c8332..5196552 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -138,15 +138,15 @@ jobs: # BRING_API_ID: ${{ secrets.BRING_API_ID }} - name: Build run: yarn build + env: + NEXT_PUBLIC_API_URL: https://staging.api.boklisten.no/ + NEXT_PUBLIC_BL_WEB_URL: https://staging.boklisten.no/ + NEXT_PUBLIC_BL_ADMIN_URL: https://staging.bladmin.boklisten.no/ - name: Cache build uses: actions/cache@v4 with: path: ./.next/ key: ${{ github.sha }}-build - env: - NEXT_PUBLIC_API_URL: https://staging.api.boklisten.no/ - NEXT_PUBLIC_BL_WEB_URL: https://staging.boklisten.no/ - NEXT_PUBLIC_BL_ADMIN_URL: https://staging.bladmin.boklisten.no/ # tests: # runs-on: ubuntu-latest # needs: [build]