Skip to content

Commit 5c56942

Browse files
committed
Update workflows
1 parent 9264fd0 commit 5c56942

File tree

2 files changed

+9
-31
lines changed

2 files changed

+9
-31
lines changed

.github/workflows/docs-branch-checks.yml

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,50 +4,28 @@ name: "Verify Branch"
44
on:
55
# push:
66
# branches:
7-
# - dev
8-
# schedule:
9-
# - cron: '00 16 * * *'
7+
# - dev
108
workflow_dispatch:
119
inputs:
1210
html:
1311
description: 'Generate HTML'
1412
type: boolean
1513
required: false
1614
default: true
17-
links:
18-
description: 'Check links'
19-
type: boolean
20-
required: false
21-
default: true
22-
lint:
23-
description: 'Lint docs'
24-
type: boolean
25-
required: false
26-
default: false
2715

2816
jobs:
2917

3018
docs-build:
3119
if: ${{ inputs.html || github.event_name == 'push' }}
3220
name: Generate HTML
33-
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2.0.0-rc-1
21+
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2
3422
with:
35-
retain-artifacts: 14
23+
package-script: verify:publish
3624
deploy-id: 0
3725

3826
docs-verify:
3927
name: Verify HTML
4028
needs: docs-build
41-
uses: neo4j/docs-tools/.github/workflows/[email protected]
42-
43-
docs-links:
44-
if: ${{ inputs.links || github.event_name == 'push' }}
45-
name: Check links
46-
needs: docs-build
47-
uses: neo4j/docs-tools/.github/workflows/[email protected]
48-
49-
docs-lint:
50-
if: ${{ inputs.lint || github.event_name == 'push' }}
51-
name: Lint docs
52-
uses: neo4j/docs-tools/.github/workflows/[email protected]
53-
29+
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v2
30+
with:
31+
failOnWarnings: true

.github/workflows/docs-pr-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
# Generate HTML
1515
docs-build-pr:
16-
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2.0.0-rc-1
16+
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2
1717
with:
1818
deploy-id: ${{ github.event.number }}
1919
retain-artifacts: 14
@@ -24,7 +24,7 @@ jobs:
2424
# By default, the job fails if there are errors, passes if there are warnings only.
2525
docs-verify-pr:
2626
needs: docs-build-pr
27-
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v2.0.0-rc-1
27+
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v2
2828
with:
2929
failOnWarnings: true
3030

@@ -56,7 +56,7 @@ jobs:
5656
docs-updates-comment-pr:
5757
if: needs.docs-build-pr.outputs.pages-listed == 'success'
5858
needs: [docs-build-pr, docs-changes-pr]
59-
uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v2.0.0-rc-1
59+
uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v2
6060
with:
6161
pages-modified: ${{ needs.docs-changes-pr.outputs.pages-modified }}
6262
pages-added: ${{ needs.docs-changes-pr.outputs.pages-added }}

0 commit comments

Comments
 (0)