diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 911108d..a626a08 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,5 +1,7 @@ name: Documentation website -on: workflow_dispatch +on: + release: + types: [prereleased, released] jobs: typedoc-and-deploy: name: Run Typedoc and deploy diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0e35260..1b63c37 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,5 +1,7 @@ name: Publish package -on: workflow_dispatch +on: + release: + types: [prereleased, released] jobs: build: name: Build and publish on NPM