diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de6de25589fb..fdbe789dbc4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -619,3 +619,18 @@ jobs: done echo "::endgroup::" + + trigger-dependent-workflows: + runs-on: ubuntu-latest + needs: + - services-docker-image-publish + - docker-image-publish + steps: + - name: Send context to seperate pipeline + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.DISTRIBUTION_TOKEN }} + event-type: new_release + repository: RocketChat/Release.Distributions + client-payload: '{"tag": "${{ github.ref_name }}"}' +