Skip to content

Commit 80b4a4c

Browse files
authored
Merge pull request #4676 from squidfunk/docs/update-publishing-guide
Upgraded action versions in publishing guide
2 parents 32a37dd + 4959081 commit 80b4a4c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/publishing-your-site.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ contents:
2828
branches:
2929
- master # (2)!
3030
- main
31+
permissions:
32+
contents: write
3133
jobs:
3234
deploy:
3335
runs-on: ubuntu-latest
3436
steps:
35-
- uses: actions/checkout@v2
36-
- uses: actions/setup-python@v2
37+
- uses: actions/checkout@v3
38+
- uses: actions/setup-python@v4
3739
with:
3840
python-version: 3.x
3941
- run: pip install mkdocs-material # (3)!
@@ -64,13 +66,15 @@ contents:
6466
branches:
6567
- master
6668
- main
69+
permissions:
70+
contents: write
6771
jobs:
6872
deploy:
6973
runs-on: ubuntu-latest
7074
if: github.event.repository.fork == false
7175
steps:
72-
- uses: actions/checkout@v2
73-
- uses: actions/setup-python@v2
76+
- uses: actions/checkout@v3
77+
- uses: actions/setup-python@v4
7478
with:
7579
python-version: 3.x
7680
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git

0 commit comments

Comments
 (0)