Verify Branch #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
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 | |