Skip to content

Commit

Permalink
Deploy from main branch only from specific paths (#254)
Browse files Browse the repository at this point in the history
## Ticket

#198

## Changes
Added specific paths to trigger deploy

## Context for reviewers
The deploy workflow should only be triggered when a file under specific
paths is updated

## Testing
N/A
  • Loading branch information
navams authored Apr 16, 2023
1 parent cd1220f commit a9c7665
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: Deploy
on:
# !! Uncomment the following lines once you've set up the dev environment and ready to turn on continuous deployment
# push:
# branches: ["main"]
# branches:
# - 'main'
# paths:
# - 'app/**'
# - 'bin/**'
# - 'infra/**'
workflow_dispatch:
inputs:
env_name:
Expand Down

0 comments on commit a9c7665

Please sign in to comment.