Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 6d15d3e

Browse files
authored
Use main in github workflow (#1380)
Default branch is now main, so all the PRs are based on main, which means the actions aren't currently triggered, since they only run on push to master. Update it to main. Since we have the main->master mirror, we should still be testing, but it is a bit delayed (only after the mirror I think, and not on the PR).
1 parent 7f2dc80 commit 6d15d3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -78,7 +78,7 @@ jobs:
7878
name: core-api-rendered
7979
path: _output/core
8080
- name: Publish HTML to GitHub Pages
81-
if: github.ref == 'refs/heads/master'
81+
if: github.ref == 'refs/heads/main'
8282
uses: peaceiris/actions-gh-pages@v3
8383
with:
8484
publish_dir: ./_output

0 commit comments

Comments
 (0)