From e6d4a28cf4c752cd76f788f1b0b97a877995c90e Mon Sep 17 00:00:00 2001 From: Fab Date: Mon, 27 Nov 2023 14:33:28 +0000 Subject: [PATCH] Set url env NEXT_PUBLIC_SITE_URL is being used so it should be set. --- .github/workflows/pages.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 70f648e..22a970e 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -76,6 +76,8 @@ jobs: - name: Build with Next.js # run: ${{ steps.detect-package-manager.outputs.runner }} next build run: npm run build + env: + NEXT_PUBLIC_SITE_URL: "https://techmids.io/" - name: Static HTML export with Next.js # run: ${{ steps.detect-package-manager.outputs.runner }} next export run: npm run export @@ -94,4 +96,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v1