From ac6925ef2cab0ce8ce5d8423558d997428756977 Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Sun, 11 Aug 2024 12:51:16 +0200 Subject: [PATCH] fix: inline_images_origin --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04e528ac..19052f87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: libname: required: true type: string - INLINE_IMAGES_ORIGIN: + inline_images_origin: required: false type: string default: 'https://github.com/${{ github.repository }}/raw/${{ github.ref_name }}' @@ -32,11 +32,13 @@ jobs: -e MDX \ -e NEXT_PUBLIC_LIBNAME \ -e OUTPUT=export \ + -e INLINE_IMAGES_ORIGIN \ ghcr.io/pmndrs/docs:app-router npm run build env: BASE_PATH: ${{ steps.configurepages.outputs.base_path }} MDX: ${{ inputs.mdx }} NEXT_PUBLIC_LIBNAME: ${{ inputs.libname }} + INLINE_IMAGES_ORIGIN: ${{ inputs.inline_images_origin }} - run: ls -al ${{ inputs.mdx }}