Skip to content

Upgrade and pin Prettier #6

Upgrade and pin Prettier

Upgrade and pin Prettier #6

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
jobs:
generate:
name: Generate documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun run docs
- uses: actions/upload-pages-artifact@v2
with:
path: 'docs/'
deploy:
name: Deploy documentation site
needs: generate
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2