From 157b21c5918ccc3bfb9d462ff80184261d2b7dc3 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 26 Dec 2023 10:33:05 +0530 Subject: [PATCH] (ci/cd) deploy new litellm image, after pass ci/cd --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7af5fcf7..a8fe52e60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -126,6 +126,14 @@ jobs: echo "Version ${VERSION} of package is already published on PyPI. Skipping PyPI publish." circleci step halt fi + - run: + name: Trigger Github Action for new Docker Container + command: | + curl -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: Bearer $GITHUB_TOKEN" \ + "https://api.github.com/repos/BerriAI/litellm/actions/workflows/ghcr_deploy.yml/dispatches" \ + -d '{"ref":"main"}' workflows: version: 2