Skip to content

Commit ff7480e

Browse files
committed
Update docs-build workflow
Signed-off-by: Aleksei Khudiakov <[email protected]>
1 parent 64bdbde commit ff7480e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/docs-build.yml

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

33
on:
4-
push:
5-
branches:
6-
- master
7-
repository_dispatch:
8-
types: docs-build
4+
release:
5+
types: [published]
6+
workflow_dispatch:
97

108
jobs:
119
build-deploy:
@@ -14,4 +12,5 @@ jobs:
1412
- name: Build Docs
1513
uses: laminas/documentation-theme/github-actions/docs@master
1614
env:
17-
DOCS_DEPLOY_KEY: ${{ secrets.DOCS_DEPLOY_KEY }}
15+
DEPLOY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)