mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
ci: damn it
This commit is contained in:
8
.github/workflows/continuous-delivery.yml
vendored
8
.github/workflows/continuous-delivery.yml
vendored
@@ -4,10 +4,6 @@ on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: The tag of the package
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
Publish:
|
||||
@@ -34,8 +30,6 @@ jobs:
|
||||
run: sern
|
||||
|
||||
- name: Publish to npm
|
||||
run: |
|
||||
TAG=$([[ ${{ github.event_name }} == 'release' ]] && echo 'latest' || echo '${{ github.event.inputs.tag }}')
|
||||
npm publish --tag ${TAG}
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user