Skip to content
Snippets Groups Projects
Commit 93a4a212 authored by Ralph Giles's avatar Ralph Giles Committed by Jordon Bedwell
Browse files

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.
parent ea8679a2
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ name: 'Push' ...@@ -2,7 +2,7 @@ name: 'Push'
on: on:
push: push:
branches: branches:
- master - $default-branch
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment