From d0fe96da39f77e0daf077b2c4e16d528fe9eedf2 Mon Sep 17 00:00:00 2001 From: spaceface Date: Tue, 22 Dec 2020 16:15:22 +0100 Subject: [PATCH] ci: update `vmodules` docs on every commit (#7363) --- .github/workflows/module_docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/module_docs.yml diff --git a/.github/workflows/module_docs.yml b/.github/workflows/module_docs.yml new file mode 100644 index 0000000000..fac97e04d8 --- /dev/null +++ b/.github/workflows/module_docs.yml @@ -0,0 +1,18 @@ +name: vlib modules CI + +on: + 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 + run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/