Skip to content

Merge pull request #1 from treeinfra/dependabot/npm_and_yarn/vitest-2… #7

Merge pull request #1 from treeinfra/dependabot/npm_and_yarn/vitest-2…

Merge pull request #1 from treeinfra/dependabot/npm_and_yarn/vitest-2… #7

Workflow file for this run

name: deploy using vitepress
on:
push: {branches: [main]}
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
- uses: actions/setup-node@v4
- uses: actions/configure-pages@v4
- run: npm install
- run: npm run doc.build
- 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
name: deploy
steps:
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v4