From 7c679c0efccb77907453c9cebd7460966df61704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9E=E3=83=AB=E3=82=B3=E3=83=A1?= Date: Wed, 5 Feb 2025 16:21:08 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91fix:=20docusaurus=20deploy=20action?= =?UTF-8?q?=20(#1207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 ++++--- .github/workflows/test-deploy.yml | 5 +++-- docs/src/components/HomepageFeatures/index.tsx | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d275e149..b198f500 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,8 +6,9 @@ concurrency: on: push: - branches: - - main + branches: main + paths: + - "docs/**" defaults: run: @@ -35,7 +36,7 @@ jobs: - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: - path: build + path: docs/build deploy: name: Deploy to GitHub Pages diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index fc9c5377..e21799e1 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -2,8 +2,9 @@ name: Test deployment on: pull_request: - branches: - - main + branches: main + paths: + - "docs/**" defaults: run: diff --git a/docs/src/components/HomepageFeatures/index.tsx b/docs/src/components/HomepageFeatures/index.tsx index d7161984..5ee9d53f 100644 --- a/docs/src/components/HomepageFeatures/index.tsx +++ b/docs/src/components/HomepageFeatures/index.tsx @@ -61,8 +61,8 @@ export default function HomepageFeatures(): ReactNode {
- {FeatureList.map((props, idx) => ( - + {FeatureList.map((props) => ( + ))}