From 1dab2f47d63670633b09365de17cc6a618b7bba6 Mon Sep 17 00:00:00 2001 From: Misiuk Date: Wed, 23 Aug 2023 16:48:58 +0300 Subject: [PATCH] Update yml file --- .github/workflows/nextjs.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index accaab8..fc43232 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -73,6 +73,14 @@ jobs: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - name: Install dependencies run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} + env: + BASE_URL: ${{ secrets.BASE_URL }} + KINDE_CLIENT_ID: ${{ secrets.KINDE_CLIENT_ID }} + KINDE_CLIENT_SECRET: ${{ secrets.KINDE_CLIENT_SECRET }} + KINDE_ISSUER_URL: ${{ secrets.KINDE_ISSUER_URL }} + KINDE_SITE_URL: ${{ secrets.KINDE_SITE_URL }} + KINDE_POST_LOGOUT_REDIRECT_URL: ${{ secrets.KINDE_POST_LOGOUT_REDIRECT_URL }} + KINDE_POST_LOGIN_REDIRECT_URL: ${{ secrets.KINDE_POST_LOGIN_REDIRECT_URL }} - name: Build with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next build - name: Static HTML export with Next.js @@ -85,7 +93,7 @@ jobs: # Deployment job deploy: environment: - name: github-pages + name: dev url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build