Skip to content

Commit

Permalink
🚑fix: docusaurus deploy action (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marukome0743 authored Feb 5, 2025
1 parent 4524144 commit 7c679c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ concurrency:

on:
push:
branches:
- main
branches: main
paths:
- "docs/**"

defaults:
run:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Test deployment

on:
pull_request:
branches:
- main
branches: main
paths:
- "docs/**"

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions docs/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export default function HomepageFeatures(): ReactNode {
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
{FeatureList.map((props) => (
<Feature key={props.title} {...props} />
))}
</div>
</div>
Expand Down

0 comments on commit 7c679c0

Please sign in to comment.