Skip to content

Commit

Permalink
Merge pull request #696 from lsst-epo/bugfix/update-gha-main
Browse files Browse the repository at this point in the history
update workflow branch from master to main
  • Loading branch information
jrosati-burwood authored Jan 27, 2025
2 parents a8dd07d + 89895e6 commit ef14350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches:
- "develop"
- "master"
- "main"
tags:
- "v*"
pull_request:
Expand All @@ -17,7 +17,7 @@ on:
- 'reopened'
branches:
- 'develop'
- 'master'
- 'main'

jobs:
build:
Expand All @@ -38,7 +38,7 @@ jobs:
if ${{ github.ref_type == 'tag'}}; then
environment_name="prod"
credentials_json='${{ secrets.PIPELINE_EPO_PROD_PROJECT }}'
elif ${{ contains(github.ref, 'master') || contains(github.base_ref, 'master') }}; then
elif ${{ contains(github.ref, 'main') || contains(github.base_ref, 'main') }}; then
environment_name="int"
credentials_json='${{ secrets.SKYVIEWER_INT_SERVICE_ACCOUNT }}'
else
Expand Down

0 comments on commit ef14350

Please sign in to comment.