Skip to content

Commit

Permalink
added: hotfix branch, rc env
Browse files Browse the repository at this point in the history
  • Loading branch information
hlebkanonik committed Aug 30, 2023
1 parent d89ff2e commit d65e87c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "rc/*"
- "hotfix/*"

env:
AWS_REGION: ${{ vars.AWS_REGION }} # set this to your preferred AWS region, e.g. us-west-1
Expand All @@ -14,8 +15,8 @@ jobs:
build-and-export:
name: Build and export to AWS ECR
runs-on: ubuntu-latest
environment: development
if: startsWith( github.ref_name, 'rc/')
environment: rc
if: startsWith( github.ref_name, 'rc/') || startsWith( github.ref_name, 'hotfix/')
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit d65e87c

Please sign in to comment.