Skip to content

Commit 6aa6ce1

Browse files
committed
Update docs deployment workflow
Signed-off-by: Geert Eltink <[email protected]>
1 parent 38501c1 commit 6aa6ce1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docs-build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: docs-build
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
release:
5+
types: [published]
76
repository_dispatch:
87
types: docs-build
98

@@ -14,4 +13,5 @@ jobs:
1413
- name: Build Docs
1514
uses: laminas/documentation-theme/github-actions/docs@master
1615
env:
17-
DOCS_DEPLOY_KEY: ${{ secrets.DOCS_DEPLOY_KEY }}
16+
"DOCS_DEPLOY_KEY": ${{ secrets.DOCS_DEPLOY_KEY }}
17+
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)