Skip to content

Deploy Doc

Deploy Doc #5

Workflow file for this run

name: Deploy Doc
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup V
uses: vlang/setup-v@v1.4
with:
check-latest: true
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v4
- name: Gen Docs
run: v doc -f html -m -readme .
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_docs