Skip to content

Commit

Permalink
Fix event for label creation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 23, 2024
1 parent 6a16c34 commit f90b082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow_build_and_release_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
dotnet tool install --global Octopus.DotNet.Cli --version 9.1.7
dotnet octo --version
- name: Create Octo Release if main or deploy to sandbox label present
if: ${{ github.ref_name == 'main' || contains(github.event.pull_request.labels.*.name, 'deploy-to-sandbox') }}
if: ${{ github.ref_name == 'main' || contains(github.event.issue.labels.*.name, 'deploy-to-sandbox') }}
run: |
octoSpaceId="Spaces-1"
octoProjectId="Projects-2241"
Expand All @@ -61,7 +61,7 @@ jobs:
--gitRef=main --server=${{ vars.OCTOPUS_CLOUD_URL }} --apiKey=${{ secrets.OCTOPUS_CLOUD_API_KEY }}
# Note: The gitRef param is for the Octo config repo and not the git repo for the code
- name: Deploy via Octopus if main or deploy to sandbox label present
if: ${{ github.ref_name == 'main' || contains(github.event.pull_request.labels.*.name, 'deploy-to-sandbox') }}
if: ${{ github.ref_name == 'main' || contains(github.event.issue.labels.*.name, 'deploy-to-sandbox') }}
run: |
octoSpaceId="Spaces-1"
octoProjectId="Projects-2241"
Expand Down

0 comments on commit f90b082

Please sign in to comment.