Skip to content

feat(content): add dynamic count state and optimize article filtering #641

feat(content): add dynamic count state and optimize article filtering

feat(content): add dynamic count state and optimize article filtering #641

name: Build and Deploy to gh-pages
on:
push:
branches:
- main
paths-ignore:
- ".editorconfig"
- ".github/**"
- ".gitignore"
- ".husky/**"
- ".prettierignore"
- ".prettierrc"
- "Caddyfile"
- "Dockerfile"
- "docs/**"
- "eslint.config.mjs"
- "README.md"
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{github.ref}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
run: npm install -g pnpm
- name: Install and Build
run: |
pnpm install --frozen-lockfile
pnpm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build
git-config-name: github-actions[bot]
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com