ci: update `vmodules` docs on every commit (#7363)

pull/7472/head
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
1 changed files with 18 additions and 0 deletions

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/