Skip to content

Commit

Permalink
chore: re-enable publish workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 committed Dec 10, 2024
1 parent 47796e9 commit ad780c2
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Publish to NPM

# on:
# workflow_dispatch:
# inputs:
# release_type:
# type: choice
# description: Release Type
# options:
# - alpha
# - release
# required: true
# default: alpha
# upgrade_type:
# type: choice
# description: Upgrade Type
# options:
# - none
# - patch
# - minor
# # - major
# required: false
# default: none
# dry_run:
# type: boolean
# description: "(Optional) Dry run"
# required: false
# default: false
# push:
# branches:
# - main
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: Release Type
options:
- alpha
- release
required: true
default: alpha
upgrade_type:
type: choice
description: Upgrade Type
options:
- none
- patch
- minor
# - major
required: false
default: none
dry_run:
type: boolean
description: "(Optional) Dry run"
required: false
default: false
push:
branches:
- main

env:
RELEASE_TYPE: ${{ github.event.inputs.release_type || 'alpha' }}
Expand Down

0 comments on commit ad780c2

Please sign in to comment.