Skip to content

docs(kb): add note self-attention #12

docs(kb): add note self-attention

docs(kb): add note self-attention #12

Workflow file for this run

name: Deploy VitePress to GitHub Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Build docs
run: npm run docs:build
- name: Package Pages artifact
run: |
tar \
--dereference --hard-dereference \
--directory docs/.vitepress/dist \
--exclude=.git \
--exclude=.github \
--exclude=".[^/]*" \
-cvf "$RUNNER_TEMP/artifact.tar" \
.
- name: Upload Pages artifact
uses: actions/upload-artifact@v7
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
retention-days: 1
if-no-files-found: error
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@v5