From 2062d6bfeb162b8c3dc72c8233fe21ff694caa80 Mon Sep 17 00:00:00 2001 From: Matthieu Baumann Date: Tue, 26 Mar 2024 11:36:29 +0100 Subject: [PATCH] deploy doc and npm on tags --- .github/workflows/api_doc.yml | 3 ++- .github/workflows/npm-publish.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api_doc.yml b/.github/workflows/api_doc.yml index 53a666f7..fbbfffb5 100644 --- a/.github/workflows/api_doc.yml +++ b/.github/workflows/api_doc.yml @@ -4,7 +4,8 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["develop"] + tags: + - '*' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d8f88d81..30e65541 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -6,6 +6,9 @@ name: Publish to NPM on: release: types: [created] + push: + tags: + - '*' workflow_dispatch: jobs: