Skip to content

Commit ae53100

Browse files
committed
update gha perms
1 parent eb19664 commit ae53100

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/Docs.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
permissions:
1717
contents: write
18-
pull-requests: read
18+
pull-requests: write
1919

2020
jobs:
2121
docs:
@@ -25,9 +25,10 @@ jobs:
2525
- name: Build and deploy Documenter.jl docs
2626
uses: TuringLang/actions/DocsDocumenter@main
2727

28-
- run: |
29-
julia --project=docs -e '
30-
using Documenter: DocMeta, doctest
31-
using NormalizingFlows
32-
DocMeta.setdocmeta!(NormalizingFlows, :DocTestSetup, :(using NormalizingFlows); recursive=true)
33-
doctest(NormalizingFlows)'
28+
- name: Run doctests
29+
shell: julia --project=docs --color=yes {0}
30+
run: |
31+
using Documenter: DocMeta, doctest
32+
using NormalizingFlows
33+
DocMeta.setdocmeta!(NormalizingFlows, :DocTestSetup, :(using NormalizingFlows); recursive=true)
34+
doctest(NormalizingFlows)

0 commit comments

Comments
 (0)