From 2edcf9a7924c10bbd9253cffa963f0e8fa4c1da4 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 17 Nov 2024 19:16:05 +0200 Subject: [PATCH] fix octopus project name and sha --- .github/workflows/docker.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a85fa1e..4c433e2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -65,19 +65,18 @@ jobs: - name: Install Octopus CLI uses: OctopusDeploy/install-octopus-cli-action@v3 with: - version: '*' + version: "*" - name: Create Octopus Release env: OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }} OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }} OCTOPUS_SPACE: ${{ secrets.OCTOPUS_SPACE }} - run: octopus release create --project web-app --version=${GITHUB_SHA::7} --packageVersion=${GITHUB_SHA::7} --no-prompt - + run: octopus release create --project hub --version=sha-${GITHUB_SHA::7} --packageVersion=sha-${GITHUB_SHA::7} --no-prompt + - name: Deploy Octopus release env: OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }} OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }} OCTOPUS_SPACE: ${{ secrets.OCTOPUS_SPACE }} - run: octopus release deploy --project web-app --version=${GITHUB_SHA::7} --environment Staging --no-prompt - + run: octopus release deploy --project hub --version=sha-${GITHUB_SHA::7} --environment Staging --no-prompt