Skip to content

Commit

Permalink
fix: preventing duplicate preview envs
Browse files Browse the repository at this point in the history
  • Loading branch information
aweiland committed Jun 6, 2024
1 parent bcfc95a commit cc5ab85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/feature-create.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Preview and Test Feature

on:
push:
branches:
- "feature/**"
workflow_dispatch: {}
# Disable for now because some PRs were also using feature branch names
# push:
# branches:
# - "feature/**"

# Only run the latest. Cancel old runs in progress.
concurrency:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/feature-delete.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Tear down preview environment

on:
delete: {}
workflow_dispatch: {}
# Disable for now because some PRs were also using feature branch names
# delete: {}


jobs:
Expand Down

0 comments on commit cc5ab85

Please sign in to comment.