Skip to content

HEIMDALLR DOC

HEIMDALLR DOC #21

Workflow file for this run

name: HEIMDALLR DOC
on: workflow_dispatch
permissions:
contents: read
pages: write
id-token: write
defaults:
run:
working-directory: docs
jobs:
deploy:
runs-on: ubuntu-latest #运行环境
name: Build
steps:
# check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/.vitepress/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1