Skip to content

Verify Branch

Verify Branch #1

# This is an example of the docs-pr.yml workflow available from the recrwplay org
name: "Verify Branch"
on:
# push:
# branches:
# - dev
# schedule:
# - cron: '00 16 * * *'
workflow_dispatch:
inputs:
html:
description: 'Generate HTML'
type: boolean
required: false
default: true
links:
description: 'Check links'
type: boolean
required: false
default: true
lint:
description: 'Lint docs'
type: boolean
required: false
default: true
jobs:
docs-build:
if: ${{ inputs.html }}
name: Generate HTML
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@dev
with:
retain-artifacts: 14
deploy-id: 0
package-script: 'publish-verify'
cli-options: '--extension ./.docs-tools/extensions/antora/aliases-redirects'
docs-verify:
name: Verify HTML
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@dev
docs-links:
if: ${{ inputs.links }}
name: Check links
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/reusable-docs-links.yml@dev
docs-lint:
if: ${{ inputs.lint }}
name: Lint docs
uses: neo4j/docs-tools/.github/workflows/reusable-docs-vale.yml@dev