Skip to content

Commit 7cec2a7

Browse files
committed
Update Documentation.yml
1 parent 0ea18c3 commit 7cec2a7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/Documentation.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@ name: Documentation
22

33
on:
44
push:
5-
branches:
6-
- main # update to match your development branch (master, main, dev, trunk, ...)
7-
tags: '*'
5+
branches: [main, master]
6+
tags: [v*]
87
pull_request:
98

109
jobs:
1110
build:
1211
permissions:
12+
actions: write
1313
contents: write
14+
pull-requests: read
15+
statuses: write
1416
runs-on: ubuntu-latest
1517
steps:
16-
- uses: actions/checkout@v2
17-
- uses: julia-actions/setup-julia@v1
18+
- uses: actions/checkout@v4
19+
- uses: julia-actions/setup-julia@v2
1820
with:
19-
version: '1.8'
21+
version: '1'
22+
- uses: julia-actions/cache@v2
2023
- name: Install dependencies
2124
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2225
- name: Build and deploy

0 commit comments

Comments
 (0)