File tree 3 files changed +6
-44
lines changed
3 files changed +6
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # workflow for re-running publishing to NPM in case it fails for some reason
2
- # you can run this workflow by navigating to https://www.github.com/openlayer-ai/openlayer-ts/actions/workflows/publish-npm.yml
1
+ # This workflow is triggered when a GitHub release is created.
2
+ # It can also be run manually to re-publish to NPM in case it failed for some reason.
3
+ # You can run this workflow by navigating to https://www.github.com/openlayer-ai/openlayer-ts/actions/workflows/publish-npm.yml
3
4
name : Publish NPM
4
5
on :
5
6
workflow_dispatch :
6
7
8
+ release :
9
+ types : [published]
10
+
7
11
jobs :
8
12
publish :
9
13
name : publish
Original file line number Diff line number Diff line change 18
18
run : |
19
19
bash ./bin/check-release-environment
20
20
env :
21
- STAINLESS_API_KEY : ${{ secrets.STAINLESS_API_KEY }}
22
21
NPM_TOKEN : ${{ secrets.OPENLAYER_NPM_TOKEN || secrets.NPM_TOKEN }}
23
22
You can’t perform that action at this time.
0 commit comments