feat: adds event dispatch
This commit is contained in:
8
.github/workflows/terraform.yml
vendored
8
.github/workflows/terraform.yml
vendored
@@ -38,3 +38,11 @@ jobs:
|
|||||||
- name: Terraform Apply
|
- name: Terraform Apply
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: terraform apply -auto-approve -input=false
|
run: terraform apply -auto-approve -input=false
|
||||||
|
|
||||||
|
- name: Trigger Cluster Deployment
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
uses: peter-evans/repository-dispatch@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.ACTIONS_KEY }}
|
||||||
|
repository: HideyoshiSolutions/infra-hideyoshi.com
|
||||||
|
event-type: deploy
|
||||||
Reference in New Issue
Block a user