Skip to content

Commit 5a437f2

Browse files
authored
Merge pull request #68 from bobleesj/patch-3
Build GitHub pages with write permissions - deploy via worfklow dispatch and on publish
2 parents 402e7d5 + b65ad58 commit 5a437f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish-docs-on-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
name: Build and Deploy Docs
1+
name: Deploy Documentation on Release
22

33
on:
44
release:
5-
types:
6-
- published
5+
types: [published]
76
workflow_dispatch:
87

98
jobs:
109
docs:
10+
permissions:
11+
contents: write
1112
uses: Billingegroup/release-scripts/.github/workflows/_publish-docs-on-release.yml@v0
1213
with:
1314
project: diffpy.fourigui

0 commit comments

Comments
 (0)