diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 67dbf25..2d6c40e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,7 +26,7 @@ jobs: with: script: | const branchToDeploy = '${{ github.event.inputs.environment }}' === 'prod' ? 'main' : 'uat'; - const response = await github.actions.createWorkflowDispatch({ + const response = await github.rest.actions.createWorkflowDispatch({ owner: 'naumanzchaudhry', repo: 'tasker-ui', workflow_id: 'deploy.yml', @@ -43,7 +43,7 @@ jobs: with: script: | const branchToDeploy = '${{ github.event.inputs.environment }}' === 'prod' ? 'main' : 'uat'; - const response = await github.actions.createWorkflowDispatch({ + const response = await github.rest.actions.createWorkflowDispatch({ owner: 'naumanzchaudhry', repo: 'tasker-api', workflow_id: 'deploy.yml',