Skip to content

Commit

Permalink
get deployment from branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh890 committed Jul 9, 2024
1 parent 7813456 commit 726c3b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Deploy dev SearchUI
on:
push:
branches:
- dev/*
- will/*
- greg/*
- tyler/*
- kim/*
- andy/*
- andy2/*

jobs:
deploy:
Expand All @@ -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
Expand Down

0 comments on commit 726c3b8

Please sign in to comment.