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 13d06f1 commit a825a01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Development
name: Deploy to Development - ${{ github.ref }}

on:
push:
Expand Down Expand Up @@ -100,13 +100,13 @@ jobs:
repository: bcgov-c/tenant-gitops-ea352d

- name: Deploy to Test Workflow
uses: peter-evans/workflow_dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
workflow: 'Deploy to Test'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy to Prod Workflow
uses: peter-evans/workflow_dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
workflow: 'Deploy to Prod'
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Prod
name: Deploy to Prod - ${{ github.ref }}

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Test
name: Deploy to Test - ${{ github.ref }}

on:
workflow_dispatch:
Expand Down

0 comments on commit a825a01

Please sign in to comment.