diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 58bae14..96fd7cb 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -37,4 +37,12 @@ jobs: # Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks - name: Terraform Apply if: github.event_name == 'push' - run: terraform apply -auto-approve -input=false \ No newline at end of file + 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 \ No newline at end of file