Skip to content

Commit

Permalink
feat(build): add doc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dy-tea committed Dec 21, 2024
1 parent dbd3bf8 commit 6a1cac8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create Docs
on:
push:
branches: '*'

jobs:
update-docs:
name: Update docs
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Setup V
uses: vlang/[email protected]

- name: Generate docs
uses: test-room-7/action-create-v-docs@v0
with:
docs-dir: docs

- name: Update docs
uses: test-room-7/action-update-file@v1
with:
file-path: docs/*
commit-msg: "chore: update docs"
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6a1cac8

Please sign in to comment.