Skip to content

Commit

Permalink
Adjust the triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
mz2 committed Dec 12, 2023
1 parent 3f02329 commit 5729678
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/terraform_test_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
name: Terraform deploy to a fresh microk8s model
on:
push:
branches: ["*"]
tags:
- "v*.*.*"
pull_request:
branches:
- '**'
paths:
- 'frontend/charm/**'
- 'backend/charm/**'
# pull_request_review:
# on:
# pull_request_review:
# types:
# - submitted
# paths:
# - 'frontend/charm/**'
# - 'backend/charm/**'
# - 'terraform/**'
pull_request_review:
on:
pull_request_review:
types:
- submitted
paths:
- 'frontend/charm/**'
- 'backend/charm/**'
- 'terraform/**'
push:
branches: ["main"]
tags: ["v*.*.*"]
workflow_dispatch:

jobs:
deploy:
name: terraform deploy + upgrade charms
if: github.event.review.state == 'APPROVED'
runs-on: [self-hosted, jammy, xlarge]

defaults:
Expand Down

0 comments on commit 5729678

Please sign in to comment.