1
0
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:
spaceface 2020-12-22 16:15:22 +01:00 committed by GitHub
parent 5f90192970
commit d0fe96da39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/module_docs.yml vendored Normal file
View 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/