Skip to content

Commit

Permalink
input
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 29, 2024
1 parent a278bd3 commit 6e572ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dispatch-deploy-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
steps:
- name: Deploy Draft
run: |
echo "$WORKFLOW_INPUT" \
echo '{ "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 }}" }' \
| gh workflow run -R riptano/datastax-docs-site deploy-draft.yml --ref "$WORKFLOW_REF" --json
sleep 5
gh run watch -R riptano/datastax-docs-site $(gh run list -R riptano/datastax-docs-site -L1 --json databaseId --jq '.[0].databaseId')
env:
WORKFLOW_REF: main
WORKFLOW_INPUT: '{ "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 }}" }'
GH_TOKEN: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }}

0 comments on commit 6e572ca

Please sign in to comment.