infrastructure/ingress.tjo.cloud/root/etc/webhook/hooks.yaml
Tine f72f4284f3
Some checks are pending
/ lint (push) Waiting to run
feat: merge multiple infrastructure repos
2024-12-22 21:11:02 +01:00

24 lines
649 B
YAML

- id: deploy
execute-command: "/var/ingress.tjo.cloud/install.sh"
command-working-directory: "/var/ingress.tjo.cloud/"
pass-arguments-to-command:
- source: payload
name: "head_commit.id"
- source: payload
name: "pusher.name"
- source: payload
name: "pusher.email"
trigger-rule:
and:
- match:
type: payload-hmac-sha256
secret: "FIGURE_OUT_HOW_TO_SET_THIS"
parameter:
source: header
name: X-Forgejo-Signature
- match:
type: value
value: "push"
parameter:
source: ref
ref: "ref/heads/main"