Skip to content

Commit

Permalink
workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
naumanzchaudhry committed Oct 9, 2024
1 parent 6d2be89 commit 9583fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 9583fda

Please sign in to comment.