From bdc66f61473f1fd43e96107fccd86fcd0390921d Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 15 Mar 2024 16:58:14 +0100 Subject: [PATCH] =?UTF-8?q?rename=20master=20=E2=86=92=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/links.yml | 4 ++-- .github/workflows/pelican.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 6564193fd..0c31a0633 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -11,7 +11,7 @@ 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: @@ -19,7 +19,7 @@ jobs: 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: diff --git a/.github/workflows/pelican.yml b/.github/workflows/pelican.yml index 80d960960..ef710637d 100644 --- a/.github/workflows/pelican.yml +++ b/.github/workflows/pelican.yml @@ -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: | @@ -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"