mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: update vmodules
docs on every commit (#7363)
This commit is contained in:
parent
5f90192970
commit
d0fe96da39
18
.github/workflows/module_docs.yml
vendored
Normal file
18
.github/workflows/module_docs.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: vlib modules CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-module-docs:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build V
|
||||
run: make
|
||||
- name: Build module documentation
|
||||
run: ./v doc -m -f html vlib/
|
||||
- name: Deploy docs to vercel
|
||||
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/
|
Loading…
Reference in New Issue
Block a user