Skip to content

Commit

Permalink
rename master → main
Browse files Browse the repository at this point in the history
  • Loading branch information
maggick committed Mar 15, 2024
1 parent 158d214 commit bdc66f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@main
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from /content including all subfolders
with:
use-quiet-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'
folder-path: 'content/'

- uses: actions/checkout@master
- uses: actions/checkout@main
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from root (README.md) but ignores subfolders
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pelican.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
run: |
git clone --depth 1 --filter=blob:none --no-checkout https://github.com/getpelican/pelican-plugins/
cd pelican-plugins
git checkout master -- post_stats
git checkout master -- summary
git checkout main -- post_stats
git checkout main -- summary
- name: grab the pelican plugins from the new location
run: |
Expand All @@ -66,7 +66,7 @@ jobs:
run: pelican

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

0 comments on commit bdc66f6

Please sign in to comment.