From dff50686d69005c870b471a1c251299e2cd83bad Mon Sep 17 00:00:00 2001 From: Lukas Neubert Date: Tue, 20 Apr 2021 16:10:21 +0200 Subject: [PATCH] ci: build module docs on PRs too (#9822) --- .github/workflows/module_docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/module_docs.yml b/.github/workflows/module_docs.yml index 94ee377cda..77de954c66 100644 --- a/.github/workflows/module_docs.yml +++ b/.github/workflows/module_docs.yml @@ -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