From ca4f266501fe28c5090389320c04cfd25a2a97cb Mon Sep 17 00:00:00 2001 From: leejooy96 Date: Thu, 8 Dec 2022 14:53:35 +0900 Subject: [PATCH] docs: use index page from root readme file --- .github/workflows/documents.yml | 15 +++++++++++++++ docs/index.md | 3 --- docs/public/.gitkeep | 0 3 files changed, 15 insertions(+), 3 deletions(-) delete mode 100644 docs/index.md create mode 100644 docs/public/.gitkeep diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml index 0b1c697..78a442a 100644 --- a/.github/workflows/documents.yml +++ b/.github/workflows/documents.yml @@ -42,6 +42,21 @@ jobs: - name: Install for document dependencies run: npm run docs:install + # copy and replace string index.md file + - name: Copy and replace string index.md file + run: cp README.md docs/index.md + - name: Copy image asset (logo) + run: cp src/renderer/public/images/vutron-logo.webp docs/public + - name: Copy image asset (sample) + run: cp vutron-sample.webp docs/public + + - name: Find and Replace + uses: jacobtomlinson/gha-find-replace@v2 + with: + find: "src/renderer/public/images/vutron-logo.webp" + replace: "vutron-logo.webp" + regex: false + # run build script - name: Build VitePress site run: npm run docs:build diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 48cd70b..0000000 --- a/docs/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Vutron Documentation - -Find documentation on installing and using Vutron. diff --git a/docs/public/.gitkeep b/docs/public/.gitkeep new file mode 100644 index 0000000..e69de29