From fc0e660eb16113f82d3cf2483f00c59fd2d6f2b6 Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Sat, 10 Aug 2024 00:56:30 +0200 Subject: [PATCH] NEXT_PUBLIC_LIBNAME fix --- .github/workflows/build.yml | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16e28e38..df450fc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: -e BASE_PATH \ -e DIST_DIR=docs/out \ -e MDX \ - -e NEXT_PUBLIC_NAME \ + -e NEXT_PUBLIC_LIBNAME \ ghcr.io/pmndrs/docs:app-router yarn build env: BASE_PATH: ${{ steps.configurepages.outputs.base_path }} diff --git a/readme.md b/readme.md index 07cb80f1..afe504ea 100644 --- a/readme.md +++ b/readme.md @@ -22,13 +22,13 @@ $ docker build -t pmndrs-docs . ```sh $ export BASE_PATH=/foo; \ export MDX=./docs; \ - export NEXT_PUBLIC_NAME="pmndrs"; \ + export NEXT_PUBLIC_LIBNAME="pmndrs"; \ \ rm -rf "$MDX/out" && docker run --rm --init -it \ -v "$MDX":/app/docs \ -e BASE_PATH \ -e DIST_DIR=docs/out \ -e MDX \ - -e NEXT_PUBLIC_NAME \ + -e NEXT_PUBLIC_LIBNAME \ pmndrs-docs yarn build ```