Skip to content

Commit 285dc54

Browse files
committed
Use develop branch not main
1 parent 8331ee6 commit 285dc54

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/push-server-image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish - NeMo Guardrails Server Image
22
on:
33
push:
44
branches:
5-
- main
5+
- develop
66
tags:
77
- v*
88
paths:
@@ -20,15 +20,15 @@ jobs:
2020
contents: read
2121
pull-requests: write
2222
security-events: write
23-
steps: # Assign context variable for various action contexts (tag, main, CI)
23+
steps: # Assign context variable for various action contexts (tag, develop, CI)
2424
- name: Assigning CI context
25-
if: github.head_ref != '' && github.head_ref != 'main' && !startsWith(github.ref, 'refs/tags/v')
25+
if: github.head_ref != '' && github.head_ref != 'develop' && !startsWith(github.ref, 'refs/tags/v')
2626
run: echo "BUILD_CONTEXT=ci" >> $GITHUB_ENV
27-
- name: Assigning tag context
27+
- name: Assigning new-tag context
2828
if: github.head_ref == '' && startsWith(github.ref, 'refs/tags/v')
2929
run: echo "BUILD_CONTEXT=tag" >> $GITHUB_ENV
30-
- name: Assigning main context
31-
if: github.head_ref == '' && github.ref == 'refs/heads/main'
30+
- name: Assigning develop-branch context
31+
if: github.head_ref == '' && github.ref == 'refs/heads/develop'
3232
run: echo "BUILD_CONTEXT=main" >> $GITHUB_ENV
3333

3434
# Run checkouts

0 commit comments

Comments
 (0)