ci: build module docs on PRs too (#9822)

pull/9830/head
Lukas Neubert 2021-04-20 16:10:21 +02:00 committed by GitHub
parent 5482a7a81e
commit dff50686d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
name: vlib modules CI
on:
pull_request:
push:
branches:
- master
@ -15,4 +16,5 @@ jobs:
- 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