Skip to content

Commit 89895e6

Browse files
update workflow branch from master to main
1 parent a8dd07d commit 89895e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
push:
77
branches:
88
- "develop"
9-
- "master"
9+
- "main"
1010
tags:
1111
- "v*"
1212
pull_request:
@@ -17,7 +17,7 @@ on:
1717
- 'reopened'
1818
branches:
1919
- 'develop'
20-
- 'master'
20+
- 'main'
2121

2222
jobs:
2323
build:
@@ -38,7 +38,7 @@ jobs:
3838
if ${{ github.ref_type == 'tag'}}; then
3939
environment_name="prod"
4040
credentials_json='${{ secrets.PIPELINE_EPO_PROD_PROJECT }}'
41-
elif ${{ contains(github.ref, 'master') || contains(github.base_ref, 'master') }}; then
41+
elif ${{ contains(github.ref, 'main') || contains(github.base_ref, 'main') }}; then
4242
environment_name="int"
4343
credentials_json='${{ secrets.SKYVIEWER_INT_SERVICE_ACCOUNT }}'
4444
else

0 commit comments

Comments
 (0)