Skip to content

test: check detection of changed pages #140

test: check detection of changed pages

test: check detection of changed pages #140

name: Build PR preview
on:
pull_request:
# To manage 'surge-preview' action teardown, add default event types + closed event type
types: [opened, synchronize, reopened, closed]
paths:
- 'modules/**'
- 'antora.yml'
- '.github/workflows/build-pr-preview.yml'
jobs:
build_preview:
runs-on: ubuntu-22.04
permissions:
pull-requests: write # surge-preview write PR comments
steps:
- name: Build and publish PR preview
uses: bonitasoft/bonita-documentation-site/.github/actions/build-and-publish-pr-preview@feat/remove_undefined_on_PR_preview_link
with:
surge-token: ${{ secrets.SURGE_TOKEN_DOC }}
github-token: ${{ secrets.GITHUB_TOKEN }}
component-name: labs
fail-on-warning: true
# ensure that the modified action is really called
doc-site-branch: feat/remove_undefined_on_PR_preview_link