Skip to content

save

save #2

Workflow file for this run

name: deploy-pages
on:
push:
branches: "main"
paths-ignore:
- README.md
- CONTRIBUTING.md
- LICENSE
- .gitignore
- .github/**
- "!.github/workflows/deploy-pages.yml"
workflow_dispatch:
concurrency: ${{ github.workflow }}
jobs:
deploy-pages:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci
- id: configure-pages
uses: actions/configure-pages@v4
- run: npm run build
env:
BASE_URL: ${{ steps.configure-pages.outputs.base_url }}/
- uses: actions/upload-pages-artifact@v3
with:
path: .vitepress/dist
- id: deploy-pages
uses: actions/deploy-pages@v4