Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
VP-6039: Invoke deploy workflow in CI
Browse files Browse the repository at this point in the history
Related VDS-220
  • Loading branch information
mvktsk committed Nov 24, 2020
1 parent b7200fd commit 343c793
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,11 @@ jobs:
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_hub: ${{ env.PUBLISH_TO_DOCKER }}
update_latest: ${{ env.UPDATE_LATEST_TAG }}

- name: Invoke VC image deployment workflow
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || (github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/master')}}
uses: benc-uk/workflow-dispatch@v1
with:
workflow: VC image deployment
token: ${{ secrets.REPO_TOKEN }}
inputs: '{ "baseImageName": "docker.pkg.github.com/virtocommerce/vc-storefront/storefront", "imageName": "odt-storefront", "artifactVersion": "${{ steps.image.outputs.taggedVersion }}"}'

0 comments on commit 343c793

Please sign in to comment.