Skip to content

Commit

Permalink
GH Script
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 29, 2024
1 parent d40f870 commit 285992d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/dispatch-deploy-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ 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:
Expand Down

0 comments on commit 285992d

Please sign in to comment.