Skip to content

Commit 7ac1dfc

Browse files
committed
Update release.yml
1 parent cda7f0d commit 7ac1dfc

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: Create Release
1+
name: Doc generation test
22

3-
on:
4-
release:
5-
types: [published]
3+
on: [push]
64

75
jobs:
86
publish-npm:
@@ -12,22 +10,20 @@ jobs:
1210
- uses: actions/setup-node@v2
1311
with:
1412
node-version: 14
15-
registry-url: https://registry.npmjs.org/
16-
- run: npm publish
17-
env:
18-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
13+
# registry-url: https://registry.npmjs.org/
14+
# - run: npm publish
15+
# env:
16+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1917

2018
- name: Package JSON Info
2119
uses: myrotvorets/info-from-package-json-action@1.1.0
2220
id: pkgjson
2321

2422
- name: Generate docs
25-
run: |
26-
node sdkdo docs
27-
zip -r docs.zip docs-${{ steps.pkgjson.outputs.packageVersion }}
23+
run: node sdkdo docs
2824

2925
- name: Upload Artifact
3026
uses: actions/upload-artifact@v3
3127
with:
32-
name: apidocs
33-
path: docs.zip
28+
name: JS_SDK_docs
29+
path: docs-${{ steps.pkgjson.outputs.packageVersion }}/

0 commit comments

Comments
 (0)