Skip to content

Commit

Permalink
Pass actor for staging deploys with the -f flag (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb authored Mar 31, 2023
1 parent d763377 commit 17a486c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,11 @@ jobs:
uses: actions/checkout@v3

- name: Dispatch workflow
run: "gh workflow run 'Deployment: staging-nuxt' -f tag=${{ needs.get-image-tag.outputs.image_tag }}"
run: |
gh workflow run \
-f tag=${{ needs.get-image-tag.outputs.image_tag }} \
-f actor=${{ github.actor }} \
"Deployment: staging-nuxt"
env:
GITHUB_TOKEN: ${{ github.token }}

Expand All @@ -776,6 +780,10 @@ jobs:
uses: actions/checkout@v3

- name: Dispatch workflow
run: "gh workflow run 'Deployment: staging-api' -f tag=${{ needs.get-image-tag.outputs.image_tag }}"
run: |
gh workflow run \
-f tag=${{ needs.get-image-tag.outputs.image_tag }} \
-f actor=${{ github.actor }} \
"Deployment: staging-api"
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 17a486c

Please sign in to comment.