feat: Register an Antora Extension to detect unused images #117
Workflow file for this run
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
name: Surge build - preview test | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/actions/build-setup/**/*' | |
- '.github/actions/comment-pr-with-links/**/*' | |
- '.github/workflows/_reusable_surge-build-preview.yml' | |
- '.github/workflows/surge-build-preview-test.yml' | |
- '.nvmrc' | |
- 'lib/antora/**/*' | |
- 'scripts/generate-content-for-preview-antora-playbook.js' | |
- 'test/documentation-content/**/*' | |
- 'antora-playbook.yml' | |
- 'build-preview.bash' | |
- 'package.json' | |
- 'package-lock.json' | |
jobs: | |
build-preview-test: | |
uses: ./.github/workflows/_reusable_surge-build-preview.yml | |
secrets: inherit | |
with: | |
doc-site-branch: ${{ github.head_ref }} | |
# here we check the | |
# - detailed logs of the Antora extensions | |
# - DocSearch integration | |
build-preview-command: >- | |
./build-preview.bash | |
--fail-on-warning true | |
--force-display-search-bar | |
--log-level debug | |
--use-test-sources |