Skip to content

Commit

Permalink
Enable manual deployment trigger of website/npm package (oblador#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored Jul 20, 2023
1 parent 7f22d41 commit efa3b18
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
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]

jobs:
npm:
name: NPM
runs-on: ubuntu-latest

if: github.event.inputs.skip-npm != 'true'
steps:
- uses: actions/checkout@v2
- name: Use Node.js
Expand All @@ -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
Expand Down

0 comments on commit efa3b18

Please sign in to comment.