diff --git a/.github/workflows/GHPages.yml b/.github/workflows/GHPages.yml index 05ef3298..53f589c6 100644 --- a/.github/workflows/GHPages.yml +++ b/.github/workflows/GHPages.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-node@v4 - name: Install mermaid-filter run: | - npm i -g mermaid-filter + npm i mermaid-filter - uses: docker://pandoc/latex:2.9 with: args: | diff --git a/.github/workflows/test-build-resources-with-pandoc.yml b/.github/workflows/test-build-resources-with-pandoc.yml index 3904b822..a5b77d67 100644 --- a/.github/workflows/test-build-resources-with-pandoc.yml +++ b/.github/workflows/test-build-resources-with-pandoc.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v4 - name: Install mermaid-filter run: | - npm i -g mermaid-filter + npm i mermaid-filter - uses: docker://pandoc/latex:2.9 with: args: sh build-resources-with-pandoc.sh diff --git a/build-resources-with-pandoc.sh b/build-resources-with-pandoc.sh index a9b9b9bd..1a588ee7 100644 --- a/build-resources-with-pandoc.sh +++ b/build-resources-with-pandoc.sh @@ -26,8 +26,8 @@ pandoc ./AWSインフラリソース命名規約.md --toc --reference-doc=${STYL # OpenAPISpecification cd ${ROOT_DIR}/documents/forOpenAPISpecification -pandoc ./OpenAPI_Specification_3.0.3.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.html -pandoc ./OpenAPI_Specification_3.0.3.md --toc --reference-doc=${STYLE_DOCX_PATH} -s --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.docx +pandoc ./OpenAPI_Specification_3.0.3.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} --filter ./node_modules/mermaid-filter/index.js -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.html +pandoc ./OpenAPI_Specification_3.0.3.md --toc --reference-doc=${STYLE_DOCX_PATH} -s --filter ./node_modules/mermaid-filter/index.js -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.docx # Git cd ${ROOT_DIR}/documents/forGitBranch