Skip to content

Commit

Permalink
DIGITAL-158: Get everything and including after the 2nd / so that the…
Browse files Browse the repository at this point in the history
… entire branch name can be checked.
  • Loading branch information
mattsqd committed Jan 3, 2025
1 parent a7670f5 commit a126030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cloudgov-deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4
- name: Set enviornment
run: |
BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)
BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3-)
COMPOSER_DEV=1
GSA_AUTH_KEY=${{ secrets.GSA_AUTH_DEVELOPMENT_KEY }}
case ${BRANCH} in
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-deploy-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4
- name: Set env.BRANCH
run: |
BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)
BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3-)
case ${BRANCH} in
develop | *deploydev)
CF_SPACE="dev"
Expand Down

0 comments on commit a126030

Please sign in to comment.