Skip to content

Commit

Permalink
feat: configure webhook for nldesignsystem.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert authored and Yolijn committed Nov 7, 2024
1 parent 2756c79 commit 7ac413c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentatie.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,13 @@ resource "github_repository_collaborators" "documentatie" {
team_id = github_team.kernteam-dependabot.slug
}
}

resource "github_repository_webhook" "documentatie" {
repository = github_repository.documentatie.name
events = ["push"]

configuration {
url = "https://prod.github-push.ictu.nl/modules/git/public/web-hook.php?uuid=${var.PLESK_WEBHOOK_UUID}"
content_type = "form"
}
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ variable "VERCEL_API_TOKEN" {
type = string
sensitive = true
}

variable "PLESK_WEBHOOK_UUID" {
description = "Plesk Webhook UUID"
type = string
sensitive = true
}

0 comments on commit 7ac413c

Please sign in to comment.