Skip to content

Commit

Permalink
add workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay committed Jan 4, 2024
1 parent 780660f commit b37ffc9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs-branch-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,28 @@ on:
- 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:
Expand All @@ -25,10 +43,12 @@ jobs:
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

0 comments on commit b37ffc9

Please sign in to comment.