From 283fd99d86c2447bb1d10abfe9717efedcc71f45 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Mon, 9 May 2022 10:59:12 -0400 Subject: [PATCH] chore: update default branch for unofficial builds (#2831) Refs: https://github.com/nodejs/unofficial-builds/issues/35 --- .../roles/unofficial-builds/files/deploy-unofficial-builds.sh | 2 +- .../templates/unofficial-builds-deploy-webhook.json.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/unofficial-builds/files/deploy-unofficial-builds.sh b/ansible/roles/unofficial-builds/files/deploy-unofficial-builds.sh index 62397dfb8..419d75a55 100644 --- a/ansible/roles/unofficial-builds/files/deploy-unofficial-builds.sh +++ b/ansible/roles/unofficial-builds/files/deploy-unofficial-builds.sh @@ -10,6 +10,6 @@ cd /home/nodejs/unofficial-builds git reset --hard git clean -fdx git fetch origin -git checkout origin/master +git checkout origin/main bash -c ./bin/deploy.sh diff --git a/ansible/roles/unofficial-builds/templates/unofficial-builds-deploy-webhook.json.j2 b/ansible/roles/unofficial-builds/templates/unofficial-builds-deploy-webhook.json.j2 index 31effdffe..e4700809f 100644 --- a/ansible/roles/unofficial-builds/templates/unofficial-builds-deploy-webhook.json.j2 +++ b/ansible/roles/unofficial-builds/templates/unofficial-builds-deploy-webhook.json.j2 @@ -6,7 +6,7 @@ "rules": [ { "event": "push", - "match": "ref == \"refs/heads/master\"", + "match": "ref == \"refs/heads/main\"", "exec": "/home/nodejs/bin/deploy-unofficial-builds.sh" } ]