forked from neo4j/docs-cypher
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 1.19 KB
/
docs-branch-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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/[email protected]
with:
retain-artifacts: 14
deploy-id: 0
docs-verify:
name: Verify HTML
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/[email protected]
docs-links:
if: ${{ inputs.links }}
name: Check links
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/[email protected]
docs-lint:
if: ${{ inputs.lint }}
name: Lint docs
uses: neo4j/docs-tools/.github/workflows/[email protected]