Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 29, 2024
1 parent 285992d commit 1939f46
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/dispatch-deploy-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Test
uses: actions/github-script@v6
with:
github-token: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'riptano',
repo: 'datastax-docs-site',
workflow_id: 'deploy-draft.yml',
ref: 'main'
})
console.log(result)
- name: Deploy Draft
uses: convictional/[email protected]
with:
owner: riptano
repo: datastax-docs-site
github_token: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }}
ref: main
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 }}" }'

0 comments on commit 1939f46

Please sign in to comment.