From 726c3b823a1766d8ff09a150a42fa3763b5832e2 Mon Sep 17 00:00:00 2001 From: William Horn Date: Mon, 8 Jul 2024 18:05:22 -0800 Subject: [PATCH] get deployment from branch name --- .github/workflows/deploy-dev.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 69dd8152f..f24219386 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -3,7 +3,12 @@ name: Deploy dev SearchUI on: push: branches: - - dev/* + - will/* + - greg/* + - tyler/* + - kim/* + - andy/* + - andy2/* jobs: deploy: @@ -19,7 +24,7 @@ jobs: - name: Extract branch name shell: bash - run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT + run: echo "branch=${dirname ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}}" >> $GITHUB_OUTPUT id: extract_branch - name: build