Skip to content

Commit f3d1398

Browse files
committed
Fixed branch enforcement in cicd script
1 parent 7b2941d commit f3d1398

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publish-to-prod.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ on:
77

88
env:
99
APP_NAME: Resolver
10-
BRANCH_NAME: production
1110

1211
jobs:
1312
build:
1413
# Enforce branch restriction
15-
if: github.ref_name == '${{ env.BRANCH_NAME }}'
14+
if: github.ref_name == 'production'
1615
name: Build ${{ matrix.os }}-${{ matrix.arch }}
1716
runs-on: ${{ matrix.runner }}
1817
strategy:

0 commit comments

Comments
 (0)