From a1e6a8415f9f323b89b3e971c6a8c18180bae1ec Mon Sep 17 00:00:00 2001 From: ladianchad Date: Tue, 21 Jan 2025 11:56:52 +0900 Subject: [PATCH] test Signed-off-by: ladianchad --- .github/workflows/deploy.yml | 9 +++++---- document/src/pages/chapters/Chapter3.tsx | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 087977a..7761326 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,16 +28,17 @@ jobs: yarn install working-directory: ./document - - name: Build the project + - name: Move assets to `assets` folder run: | - yarn run build + rsync -av --exclude="*.ico" --exclude="*.html" --exclude="*.js" --remove-source-files ./public/ ./public/assets/ working-directory: ./document - - name: Move assets to `asset` folder + - name: Build the project run: | - rsync -av --exclude="*.ico" --exclude="*.html" --exclude="*.js" --remove-source-files ./dist/ ./dist/assets/ + yarn run build working-directory: ./document + - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/document/src/pages/chapters/Chapter3.tsx b/document/src/pages/chapters/Chapter3.tsx index f797e74..e3c6c5e 100644 --- a/document/src/pages/chapters/Chapter3.tsx +++ b/document/src/pages/chapters/Chapter3.tsx @@ -1,5 +1,6 @@ import {IChapterData} from "../../../types/global"; import {BlockMath, InlineMath} from "react-katex"; +import {resolvePath} from "../../libs/url"; const Chapter3 = () => { return ( @@ -59,7 +60,7 @@ const Chapter3 = () => {

{"예시