From efa3b18ee3ead518cd40f72c987c2c55d50ff80a Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Thu, 20 Jul 2023 10:34:21 +0200 Subject: [PATCH] Enable manual deployment trigger of website/npm package (#1527) --- .github/workflows/deploy.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5051fc85d..add98d182 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,6 +1,14 @@ name: Deploy on: + workflow_dispatch: + inputs: + skip-npm: + type: boolean + description: Skip NPM release + skip-directory: + type: boolean + description: Skip directory website deployment release: types: [created] @@ -8,7 +16,7 @@ jobs: npm: name: NPM runs-on: ubuntu-latest - + if: github.event.inputs.skip-npm != 'true' steps: - uses: actions/checkout@v2 - name: Use Node.js @@ -26,7 +34,7 @@ jobs: directory: name: Directory website runs-on: ubuntu-latest - + if: github.event.inputs.skip-directory != 'true' steps: - uses: actions/checkout@v2 - name: Use Node.js