Skip to content

Commit

Permalink
This is staging
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Feb 13, 2024
1 parent 6d9ca71 commit f591115
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-to-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- staging

# OIDC token being allowed be generated
permissions:
Expand All @@ -14,7 +15,8 @@ permissions:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: production
# production if is main branch, staging if it is staging branch
environment: ${{ github.ref == 'refs/heads/main' && 'production' || 'staging' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit f591115

Please sign in to comment.