Skip to content

Commit

Permalink
ci: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi committed Dec 25, 2023
1 parent 8a94f72 commit 3e48d1d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
name: Release 🚀

on:
# push:
# branches:
# - edge
# - master
workflow_dispatch:
inputs:
dry-run:
description: 'Dry Run'
required: false
default: 'yes'
push:
branches:
- edge
- master

jobs:
release:
Expand All @@ -36,7 +30,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release ${{ github.event.inputs.dry-run == 'yes' && '--dry-run' || '' }}
run: npx semantic-release

# notify:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 3e48d1d

Please sign in to comment.