1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/.github/workflows/module_docs_ci.yml

21 lines
494 B
YAML
Raw Normal View History

name: vlib modules CI
on:
pull_request:
push:
branches:
- master
jobs:
build-module-docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
2021-07-19 13:26:36 +03:00
- name: Build V
run: make
- name: Build module documentation
run: ./v doc -m -f html vlib/
- name: Deploy docs to vercel
if: ${{ github.event_name == 'push' }}
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true