Skip to content

Add container routing note #44

Add container routing note

Add container routing note #44

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/checkout@v4.1.7
with:
fetch-depth: 0
- uses: actions/setup-node@v4.0.2
with:
node-version: 20
- uses: oven-sh/setup-bun@v1.2.2
- uses: actions/cache@v4.0.2
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/configure-pages@v5.0.0
- uses: actions/upload-pages-artifact@v3.0.1
with:
path: .vitepress/dist
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4.0.5