Skip to content

Update draft dispatch workflow #6

Update draft dispatch workflow

Update draft dispatch workflow #6

name: Deploy Draft
on:
pull_request:
branches:
- '**'
jobs:
dispatch-deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy Draft
uses: convictional/[email protected]
with:
owner: riptano
repo: datastax-docs-site
github_token: ${{ secrets.DISPATCH_GITHUB_TOKEN }}
github_user: ${{ secrets.DISPATCH_GITHUB_USER }}
workflow_file_name: deploy-draft.yml
client_payload: '{ "build_repository": "${{ github.event.repository.full_name }}", "build_branch": "${{ github.base_ref }}", "draft_branch": "${{ github.event.pull_request.head.ref }}", "pull_request_number": "${{ github.event.pull_request.number }}" }'