Skip to content

Commit bdc66f6

Browse files
committed
rename master → main
1 parent 158d214 commit bdc66f6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
check-links:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@master
14+
- uses: actions/checkout@main
1515
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1616
# checks all markdown files from /content including all subfolders
1717
with:
1818
use-quiet-mode: 'yes'
1919
config-file: '.github/workflows/markdown.links.config.json'
2020
folder-path: 'content/'
2121

22-
- uses: actions/checkout@master
22+
- uses: actions/checkout@main
2323
- uses: gaurav-nelson/github-action-markdown-link-check@v1
2424
# checks all markdown files from root (README.md) but ignores subfolders
2525
with:

.github/workflows/pelican.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
run: |
4848
git clone --depth 1 --filter=blob:none --no-checkout https://github.com/getpelican/pelican-plugins/
4949
cd pelican-plugins
50-
git checkout master -- post_stats
51-
git checkout master -- summary
50+
git checkout main -- post_stats
51+
git checkout main -- summary
5252
5353
- name: grab the pelican plugins from the new location
5454
run: |
@@ -66,7 +66,7 @@ jobs:
6666
run: pelican
6767

6868
- name: Deploy
69-
if: ${{ github.ref == 'refs/heads/master' }}
69+
if: ${{ github.ref == 'refs/heads/main' }}
7070
run: |
7171
cd output
7272
remote_repo="https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git"

0 commit comments

Comments
 (0)