Skip to content

docs: run tests after build #11

docs: run tests after build

docs: run tests after build #11

Workflow file for this run

name: Build & upload documentation
on:
push:
branches: ["main"]
env:
INSTANCE: 'web/g'
ARTIFACT: 'webHelpHI2-all.zip'
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build docs using Writerside Docker builder
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
location: ./docs
test-docs:
needs: build-docs
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: docs
path: artifacts
- name: Test documentation
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}