Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: ladianchad <[email protected]>
  • Loading branch information
ladianchad committed Jan 21, 2025
1 parent 3083775 commit a1e6a84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion document/src/pages/chapters/Chapter3.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {IChapterData} from "../../../types/global";
import {BlockMath, InlineMath} from "react-katex";
import {resolvePath} from "../../libs/url";

const Chapter3 = () => {
return (
Expand Down Expand Up @@ -59,7 +60,7 @@ const Chapter3 = () => {
</p>
<img
className="w-1/2"
src={"./img_example.png"}
src={resolvePath("img_example.png")}
alt={"예시 이미지"}
loading="lazy"
/>
Expand Down

0 comments on commit a1e6a84

Please sign in to comment.