File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 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 : |
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"
You can’t perform that action at this time.
0 commit comments