Skip to content

Add container routing note #45

Add container routing note

Add container routing note #45

name: Notes Build and Deploy
on:
workflow_dispatch: {}
push:
branches:
- docs
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/[email protected]
with:
node-version: 20
- uses: oven-sh/[email protected]
- uses: actions/[email protected]
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install all dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run docs:build
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: .vitepress/dist
- name: Deploy
id: deployment
uses: actions/[email protected]