diff --git a/.github/workflows/pages-deployment.yml b/.github/workflows/pages-deployment.yml index 9b8ce09b..a29f4958 100644 --- a/.github/workflows/pages-deployment.yml +++ b/.github/workflows/pages-deployment.yml @@ -38,7 +38,13 @@ jobs: ${{ runner.os }}-lfs- - name: Git LFS Pull run: git lfs pull - - name: Build / Cypress E2E test + - name: Build for Production (main) branch + if: github.ref == 'refs/heads/main' + run: | + pnpm install --frozen-lockfile + pnpm build + - name: Build for Non-production (other) branch + if: github.ref != 'refs/heads/main' uses: cypress-io/github-action@v6 with: build: pnpm build:staging diff --git a/src/components/post/CategoryList.astro b/src/components/post/CategoryList.astro index a0a55753..1bf581a1 100644 --- a/src/components/post/CategoryList.astro +++ b/src/components/post/CategoryList.astro @@ -9,7 +9,7 @@ const CategoryElement = categoryHref ? 'a' : 'div'; (
  • - + + # {tags[index]}
  • )) : tags.map((tag) => (
  • - + # {tag}