Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Pass actor for staging deploys with the `-f` flag (#1104)

Dhruv Bhanushali17a486c45b07
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 234981fd3..93c9c141b 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -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 }}
@@ -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 }}