Skip to content

Add name and fix action version #3

Add name and fix action version

Add name and fix action version #3

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Build site
id: build
run: bun run docs:build
- name: Upload static files as artifact
id: deployment
uses: actions/[email protected]
with:
path: .vitepress/dist/
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4