Skip to content

Commit

Permalink
Merge pull request #1 from vivid-cpreston/feature/vdyp-demo
Browse files Browse the repository at this point in the history
Feature/vdyp demo
  • Loading branch information
vivid-cpreston authored Sep 6, 2024
2 parents 3b5cd79 + 5c0e13a commit 1bfea73
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/demo-openshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- 'vdyp-buildtools/migrations'

concurrency:
# Cancel in progress for PR open and close
group: ${{ github.event.number }}
# Cancel if re-attempted
group: ${{ github.event_name }}
cancel-in-progress: true

jobs:
Expand All @@ -23,12 +23,19 @@ jobs:
package: [vdyp-api/backend, vdyp-web-ui/frontend, vdyp-buildtools/migrations]
timeout-minutes: 10
steps:
- id: trimBranchName
name: trim branch name if necessary
run: |
export branchTag="${{ github.ref_name }}"
trimTag="${branchTag##*/}"
echo "BRANCH_TAG=$trimTag" >> $GITHUB_OUTPUT
- uses: bcgov-nr/[email protected]
with:
build_context: ${{ matrix.build_context }}
keep_versions: 10
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag: ${{ steps.trimBranchName.outputs.BRANCH_TAG }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')

Expand Down

0 comments on commit 1bfea73

Please sign in to comment.