Skip to content

Commit

Permalink
ci: move build env to correct step
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen committed Aug 12, 2024
1 parent 348a21a commit 440a469
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 440a469

Please sign in to comment.