Skip to content

Commit

Permalink
Run on main and production branches for deploys -- we'll use separate…
Browse files Browse the repository at this point in the history
… environments to differentiate keys
  • Loading branch information
dannon committed Oct 10, 2024
1 parent 1a4de39 commit a3cdcb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: Deploy to S3 and CloudFront
on:
push:
branches:
- main
- production

jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: ${{ github.ref == 'refs/heads/production' && 'production' || 'development' }}

steps:
- name: Checkout Code
Expand Down

0 comments on commit a3cdcb2

Please sign in to comment.