Skip to content

Merge branch 'main' of https://github.com/zce/velite #154

Merge branch 'main' of https://github.com/zce/velite

Merge branch 'main' of https://github.com/zce/velite #154

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths:
- 'docs/**'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- uses: actions/configure-pages@v5
- run: pnpm install
- run: pnpm docs:build && touch docs/.vitepress/dist/.nojekyll
- uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4