mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: build module docs on PRs too (#9822)
This commit is contained in:
parent
5482a7a81e
commit
dff50686d6
2
.github/workflows/module_docs.yml
vendored
2
.github/workflows/module_docs.yml
vendored
@ -1,6 +1,7 @@
|
|||||||
name: vlib modules CI
|
name: vlib modules CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -15,4 +16,5 @@ jobs:
|
|||||||
- name: Build module documentation
|
- name: Build module documentation
|
||||||
run: ./v doc -m -f html vlib/
|
run: ./v doc -m -f html vlib/
|
||||||
- name: Deploy docs to vercel
|
- name: Deploy docs to vercel
|
||||||
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
||||||
|
Loading…
Reference in New Issue
Block a user