Skip to content

chore: add modules to structure the content #6

chore: add modules to structure the content

chore: add modules to structure the content #6

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@master
with:
surge-token: ${{ secrets.SURGE_TOKEN_DOC }}
github-token: ${{ secrets.GITHUB_TOKEN }}
component-name: bpi
fail-on-warning: true
# TODO remove when https://github.com/bonitasoft/bonita-documentation-site/pull/721 has been merged
doc-site-branch: chore/add_bpi_for_preview