Skip to content

Commit 99bf860

Browse files
authored
Don't run release action on push to release branch, but rather manually from GitHub (argoproj#102)
Signed-off-by: Remington Breeze <[email protected]>
1 parent 8ee0586 commit 99bf860

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/npm-publish.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: Release NPM package
22

33
on:
4-
release:
5-
types: [created]
6-
push:
7-
branches:
8-
- 'master'
9-
- 'release'
10-
- 'release-*'
4+
workflow_dispatch:
5+
inputs:
6+
tag:
7+
description: Git tag to build release from
8+
required: true
119

12-
jobs:
13-
publish-gpr:
10+
jobs:
11+
publish:
1412
runs-on: ubuntu-latest
1513
steps:
1614
- uses: actions/checkout@v2
15+
with:
16+
ref: ${{ github.event.inputs.tag }}
1717
- uses: actions/setup-node@v1
1818
with:
1919
node-version: 12

0 commit comments

Comments
 (0)