diff --git a/.github/workflows/dispatch-deploy-draft.yml b/.github/workflows/dispatch-deploy-draft.yml index 9859c669..09263d19 100644 --- a/.github/workflows/dispatch-deploy-draft.yml +++ b/.github/workflows/dispatch-deploy-draft.yml @@ -12,9 +12,8 @@ jobs: steps: - name: Deploy Draft run: | - gh auth login --with-token <<< $GH_TOKEN - echo "${{ env.WORKFLOW_INPUT }}" \ - | gh workflow run -R riptano/datastax-docs-site deploy-draft.yml --ref $WORKFLOW_REF --json + echo "$WORKFLOW_INPUT" \ + | 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: