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