From 93a4a21200c81b342b9c0cc878f65a1d5206b5b7 Mon Sep 17 00:00:00 2001 From: Ralph Giles <giles@thaumas.net> Date: Thu, 15 Jul 2021 14:21:35 -0700 Subject: [PATCH] Github Actions: Use the new default branch macro. Trigger deployment on pushes to the default branch instead of hard-coding `master`. This will keep ci running as expected if the default branch is changed, e.g. to the friendlier `main` convention. --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bd09ef7..4f9387c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: 'Push' on: push: branches: - - master + - $default-branch jobs: build: runs-on: ubuntu-latest -- GitLab