From 004302846fa35a452f1416b9043bcd790ae08224 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 5 Sep 2024 19:13:54 +0100 Subject: [PATCH] ci: add can-i-deploy/record-deployment pre/post artifact upload --- .github/workflows/build-test-cross.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-test-cross.yml b/.github/workflows/build-test-cross.yml index 911c679..cd07ee0 100644 --- a/.github/workflows/build-test-cross.yml +++ b/.github/workflows/build-test-cross.yml @@ -122,6 +122,13 @@ jobs: with: useConfigFile: true configFilePath: ./.github/gitversion.yml + + - uses: pactflow/actions/can-i-deploy@auto_detect_version_branch + with: + to_environment: production + application_name: explore-cli + PACT_BROKER_BASE_URL: ${{ secrets.PACT_BROKER_BASE_URL }} + PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }} - name: Download artifacts uses: actions/download-artifact@v4