Skip to content

Commit

Permalink
update workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Long Le authored and Long Le committed Sep 16, 2024
1 parent 32f22dd commit 05297bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tyk-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Generate Production Tyk Assets

# Perform the env promotion only on push to main branch
on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: write
actions: read
checks: write

jobs:
set-up-prod-tyk-assets:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/tyk-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ name: Generate Staging Tyk Assets

# Perform the env promotion only on push to main branch
on:
push:
branches: [ main ]
workflow_dispatch:
push:
paths:
- 'dev/**'
branches:
- main

jobs:
# Set up staging assets
Expand Down

0 comments on commit 05297bd

Please sign in to comment.