Skip to content

Commit b161bcc

Browse files
delte branches
1 parent 437fb22 commit b161bcc

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Build and Deploy Garnet
33
on:
44
workflow_dispatch:
55
push:
6+
tags:
7+
- v*
68
branches:
7-
- main
8-
- staging
9+
- deploy/staging
10+
- deploy/prod
11+
- garnet-privacy-proxy
912
pull_request:
1013
branches:
11-
- main
12-
- staging
14+
- garnet-privacy-proxy
1315

1416
jobs:
1517

@@ -44,9 +46,10 @@ jobs:
4446
id: get_tag
4547
run: |
4648
case "${GITHUB_REF}" in
47-
refs/heads/staging) NAME=staging ;;
48-
refs/heads/main) NAME=latest ;;
49-
*) NAME="${FALLBACK}" ;;
49+
refs/heads/deploy/staging) NAME=staging ;;
50+
refs/heads/deploy/prod) NAME=prod ;;
51+
refs/tags/v*) NAME=latest ;;
52+
*) NAME="${FALLBACK}" ;;
5053
esac
5154
echo "name=${NAME}" >> $GITHUB_OUTPUT
5255
env:

0 commit comments

Comments
 (0)