From 4959081bcfcc9a16aa38e7a2759fd7cbdefc6e20 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 25 Nov 2022 11:23:18 +0100 Subject: [PATCH] Upgraded action versions in publishing guide --- docs/publishing-your-site.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/publishing-your-site.md b/docs/publishing-your-site.md index 1b7301594..65de499c6 100644 --- a/docs/publishing-your-site.md +++ b/docs/publishing-your-site.md @@ -28,12 +28,14 @@ contents: branches: - master # (2)! - main + permissions: + contents: write jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: 3.x - run: pip install mkdocs-material # (3)! @@ -64,13 +66,15 @@ contents: branches: - master - main + permissions: + contents: write jobs: deploy: runs-on: ubuntu-latest if: github.event.repository.fork == false steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: 3.x - run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git