Attempt to include tags in search #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |