Skip to content

Commit

Permalink
feat: GHA更新
Browse files Browse the repository at this point in the history
  • Loading branch information
YuheiFUJITA committed Dec 5, 2023
1 parent 3f2af1a commit 83881bb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ jobs:
node-version: "lts/*"

- name: Install dependencies
run: npm install
run: cd ./slidev && npm install

- name: Install slidev
run: npm i -g @slidev/cli

- name: Build
run: npm run build -- --base /slide-20231206-findy/
run: cd ./slidev && npm run build -- --base /slide-20231206-findy/ --out ../dist

- name: Install dependencies
run: cd ./vitepress && npm install

- name: Build vitepress
run: cd ./vitepress && npm run docs:build && mv docs/.vitepress/dist ../dist/vitepress

- uses: actions/configure-pages@v3

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
!*.keep
File renamed without changes.
Empty file added dist/.keep
Empty file.
6 changes: 3 additions & 3 deletions slidev/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Yuhei FUJITA
layout: center
---

![GitHub Repository](images/github-repository.png)
![GitHub Repository](/images/github-repository.png)

---

Expand All @@ -36,7 +36,7 @@ layout: center

![icon](https://github.com/YuheiFUJITA.png)

![Twitter QRコード](images/qrcode_twitter.com.png)
![Twitter QRコード](/images/qrcode_twitter.com.png)

</div>
<div class="col-span-3">
Expand Down Expand Up @@ -187,7 +187,7 @@ npm run docs:dev
</div>
<div>

![VitePressのセットアップ](images/vitepress-get-started.gif)
![VitePressのセットアップ](/images/vitepress-get-started.gif)

</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions vitepress/docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import markdownItPlamtuml from "markdown-it-plantuml";
export default defineConfig({
title: "タスク管理アプリ",
description: "ドキュメント",
base: "/slide-20231206-findy/vitepress/",
markdown: {
config: (md) => {
md.use(markdownItPlamtuml);
Expand Down

0 comments on commit 83881bb

Please sign in to comment.