2020-12-22 18:15:22 +03:00
|
|
|
name: vlib modules CI
|
|
|
|
|
|
|
|
on:
|
2021-04-20 17:10:21 +03:00
|
|
|
pull_request:
|
2020-12-22 18:15:22 +03:00
|
|
|
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
|
2021-04-20 17:10:21 +03:00
|
|
|
if: ${{ github.event_name == 'push' }}
|
2020-12-23 22:04:54 +03:00
|
|
|
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|