Skip to content

Commit 239396b

Browse files
Update Documentation Workflows (#294)
1 parent c030f9d commit 239396b

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ on:
88

99
jobs:
1010
build:
11+
permissions:
12+
contents: write
13+
statuses: write
1114
runs-on: ubuntu-latest
1215
steps:
1316
- uses: actions/checkout@v3
1417
- uses: julia-actions/setup-julia@v2
1518
with:
16-
version: "1.11"
19+
version: "1"
1720
- name: Build and deploy
1821
env:
1922
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/DocumentationPreview.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
jobs:
99
build:
10+
permissions:
11+
contents: write
12+
pull-requests: read
13+
statuses: write
1014
runs-on: ubuntu-latest
1115
environment:
1216
name: pr-${{github.event.number}}
@@ -15,7 +19,7 @@ jobs:
1519
- uses: actions/checkout@v3
1620
- uses: julia-actions/setup-julia@v2
1721
with:
18-
version: "1.11"
22+
version: "1"
1923
- name: Build and deploy
2024
env:
2125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)