Skip to content

Commit

Permalink
fix octopus project name and sha
Browse files Browse the repository at this point in the history
  • Loading branch information
galkleinman committed Nov 17, 2024
1 parent a29836a commit 2edcf9a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2edcf9a

Please sign in to comment.