Skip to content

Switch bundle previews from GitHub pages to the docs draft environment #140

Switch bundle previews from GitHub pages to the docs draft environment

Switch bundle previews from GitHub pages to the docs draft environment #140

name: Dispatch Antora Build and Deploy
on:
pull_request:
branches:
- '*'
jobs:
dispatch-deploy:
runs-on: ubuntu-latest
steps:
- name: Dispatch Antora Build and Deploy
run: echo "OK"
# uses: convictional/[email protected]
# with:
# owner: riptano
# repo: datastax-docs-site
# github_token: ${{ secrets.DOCS_GITHUB_PAT }}
# workflow_file_name: deploy-draft.yml
# client_payload: '{ "build_repository": "${{ github.event.repository.full_name }}", "build_branch": "main", "draft_branch": "${{ github.event.pull_request.head.ref }}", "pull_request_number": "${{ github.event.pull_request.number }}", "ui_bundle_repository": "${{ github.event.repository.full_name }}", "ui_bundle_branch": "${{ github.event.pull_request.head.ref }}" }'