Skip to content

Commit

Permalink
feat(ci): Adjust CI for workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Apr 20, 2024
1 parent 05a78a3 commit 0682308
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@ jobs:
- name: Deploy to Test Workflow
uses: peter-evans/repository-dispatch@v3
with:
workflow: 'Deploy to Test'
token: ${{ secrets.GITHUB_TOKEN }}
event-type: Deploy to Test'
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

- name: Deploy to Prod Workflow
uses: peter-evans/repository-dispatch@v3
with:
workflow: 'Deploy to Prod'
token: ${{ secrets.GITHUB_TOKEN }}
event-type: Deploy to Prod'
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit 0682308

Please sign in to comment.