Skip to content

Commit

Permalink
Trigger deployment only when pushed on main (#86)
Browse files Browse the repository at this point in the history
We only want the deployments to occur in these three scenarios:
1. Code is merged to `main`
2. Workflow dispatch when we need to test deployments manually
3. Automatically trigger it every day at 3:12 AM
  • Loading branch information
vedhav authored Oct 12, 2023
1 parent 21dee7a commit 6cbee27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Deploy Apps 🚀

on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: "12 3 * * *"
Expand Down

0 comments on commit 6cbee27

Please sign in to comment.