Skip to content

tweak method for getting branch name #3

tweak method for getting branch name

tweak method for getting branch name #3

Workflow file for this run

name: Deploy dev SearchUI
on:
push:
branches:
- will/*
- greg/*
- tyler/*
- kim/*
- andy/*
- andy2/*
jobs:
deploy:
runs-on: ubuntu-latest
environment: dev-deployments
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract branch name
shell: bash
run: echo "branch=${dirname ${GITHUB_REF_NAME}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: build
uses: ./.github/workflows/search-ui-deploy-composite
with:
maturity: ${{ vars.MATURITY }}
application: ${{ steps.extract_branch.outputs.branch }}
cdn-id: ${{ vars.CDN_ID }}
s3-bucket: ${{ vars.S3_BUCKET }}
aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }}