Skip to content

Commit 41e4f65

Browse files
committed
permissions and exclude patterns
Signed-off-by: Max Pumperla <[email protected]>
1 parent be96aae commit 41e4f65

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
1115
steps:
1216
- uses: actions/checkout@v3
1317

_config.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,24 @@ html:
1212
sphinx:
1313
config:
1414
html_show_copyright: false
15+
exclude_patterns:
16+
- "venv/**"
17+
- "_build/**"
18+
- "__pycache__/**"
19+
- ".git/**"
20+
- "**/venv/**"
21+
- "**/_build/**"
22+
- "**/__pycache__/**"
23+
- "**/.git/**"
1524
jupyter_execute_notebooks: "off"
1625
execute:
1726
execute_notebooks: "off"
1827
allow_errors: false
19-
exclude_patterns: []
28+
exclude_patterns:
29+
- "**/venv/**"
30+
- "**/_build/**"
31+
- "**/__pycache__/**"
32+
- "**/.git/**"
2033
timeout: 30
2134
stderr_output: remove
2235
stdout_output: remove

0 commit comments

Comments
 (0)