Skip to content

Commit 0cca8c8

Browse files
committed
Fix publish artifacts
1 parent 79393af commit 0cca8c8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publishartifact.yml

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
required: true
1414
type: string
1515

16+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
17+
permissions:
18+
contents: write
19+
pages: write
20+
id-token: write
21+
1622
jobs:
1723
publish:
1824
runs-on: ubuntu-latest #good idea to be able to do chmod to fix the artifact issues.

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ on:
66

77
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
88
permissions:
9-
contents: read
9+
contents: write
1010
pages: write
1111
id-token: write
12-
deployments: write
1312

1413
jobs:
1514
prepareVersion:

0 commit comments

Comments
 (0)