fix: remove spaces in automatically generated category links #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy static content to Pages | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
cache: npm | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.15.8 | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Packages | |
run: pnpm run build | |
- name: Build Docs | |
run: pnpm run docs:build | |
- name: Deploy to GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
repo: vuepress-reco/vuepress-reco.github.io | |
target_branch: master | |
build_dir: docs/.vuepress/dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAGE_TOKEN }} |