Skip to content

Commit 4c74f7e

Browse files
committed
test
Signed-off-by: wss <[email protected]>
1 parent c52f198 commit 4c74f7e

File tree

2 files changed

+21
-121
lines changed

2 files changed

+21
-121
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Node.js Package
2+
3+
on:
4+
push:
5+
tags:
6+
- "release/**"
7+
8+
jobs:
9+
publish-npm:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: 18
16+
registry-url: https://registry.npmjs.org/
17+
- name: engine publish
18+
run: npm publish
19+
working-directory: ./src
20+
env:
21+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

src/readme.md

Lines changed: 0 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +0,0 @@
1-
2-
> 注:当前项目为 Serverless Devs 应用,由于应用中会存在需要初始化才可运行的变量(例如应用部署地区、服务名、函数名等等),所以**不推荐**直接 Clone 本仓库到本地进行部署或直接复制 s.yaml 使用,**强烈推荐**通过 `s init ` 的方法或应用中心进行初始化,详情可参考[部署 & 体验](#部署--体验)
3-
4-
# wss-test 帮助文档
5-
<p align="center" class="flex justify-center">
6-
<a href="https://www.serverless-devs.com" class="ml-1">
7-
<img src="http://editor.devsapp.cn/icon?package=wss-test&type=packageType">
8-
</a>
9-
<a href="http://www.devsapp.cn/details.html?name=wss-test" class="ml-1">
10-
<img src="http://editor.devsapp.cn/icon?package=wss-test&type=packageVersion">
11-
</a>
12-
<a href="http://www.devsapp.cn/details.html?name=wss-test" class="ml-1">
13-
<img src="http://editor.devsapp.cn/icon?package=wss-test&type=packageDownload">
14-
</a>
15-
</p>
16-
17-
<description>
18-
19-
阿里云 Serverless Devs 应用帮助文档标准化组件
20-
21-
</description>
22-
23-
<codeUrl>
24-
25-
26-
27-
</codeUrl>
28-
<preview>
29-
30-
31-
32-
</preview>
33-
34-
35-
## 前期准备
36-
37-
使用该项目,您需要有开通以下服务:
38-
39-
<service>
40-
</service>
41-
42-
推荐您拥有以下的产品权限 / 策略:
43-
<auth>
44-
45-
46-
47-
| 服务/业务 | 权限 | 备注 |
48-
| --- | --- | --- |
49-
| 函数计算 | AliyunFCFullAccess | |
50-
| oss | AliyunOSSFullAccess | |
51-
52-
</auth>
53-
54-
<remark>
55-
56-
57-
58-
</remark>
59-
60-
<disclaimers>
61-
62-
63-
64-
</disclaimers>
65-
66-
## 部署 & 体验
67-
68-
<appcenter>
69-
70-
- :fire: 通过 [Serverless 应用中心](https://fcnext.console.aliyun.com/applications/create?template=wss-test)
71-
[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://fcnext.console.aliyun.com/applications/create?template=wss-test) 该应用。
72-
73-
</appcenter>
74-
<deploy>
75-
76-
- 通过 [Serverless Devs Cli](https://www.serverless-devs.com/serverless-devs/install) 进行部署:
77-
- [安装 Serverless Devs Cli 开发者工具](https://www.serverless-devs.com/serverless-devs/install) ,并进行[授权信息配置](https://docs.serverless-devs.com/fc/config)
78-
- 初始化项目:`s init wss-test -d wss-test `
79-
- 进入项目,并进行项目部署:`cd wss-test && s deploy - y`
80-
81-
</deploy>
82-
83-
## 应用详情
84-
85-
<appdetail id="flushContent">
86-
87-
## 规范文档参考
88-
89-
中文:https://github.com/Serverless-Devs/Serverless-Devs/blob/master/spec/zh/0.0.2/serverless_package_model/3.package_model.md
90-
91-
English: https://github.com/Serverless-Devs/Serverless-Devs/blob/master/spec/en/0.0.2/serverless_package_model/3.package_model.md
92-
93-
--------------
94-
95-
Package 开发发布最佳实践:
96-
- [社区讨论 #62](https://github.com/Serverless-Devs/Serverless-Devs/discussions/62);
97-
- [社区讨论 #407](https://github.com/Serverless-Devs/Serverless-Devs/discussions/407);
98-
- [社区讨论 #439](https://github.com/Serverless-Devs/Serverless-Devs/discussions/439);
99-
100-
</appdetail>
101-
102-
## 使用文档
103-
104-
<usedetail id="flushContent">
105-
</usedetail>
106-
107-
108-
<devgroup>
109-
110-
111-
## 开发者社区
112-
113-
您如果有关于错误的反馈或者未来的期待,您可以在 [Serverless Devs repo Issues](https://github.com/serverless-devs/serverless-devs/issues) 中进行反馈和交流。如果您想要加入我们的讨论组或者了解 FC 组件的最新动态,您可以通过以下渠道进行:
114-
115-
<p align="center">
116-
117-
| <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407298906_20211028074819117230.png" width="130px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407044136_20211028074404326599.png" width="130px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407252200_20211028074732517533.png" width="130px" > |
118-
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
119-
| <center>微信公众号:`serverless`</center> | <center>微信小助手:`xiaojiangwh`</center> | <center>钉钉交流群:`33947367`</center> |
120-
</p>
121-
</devgroup>

0 commit comments

Comments
 (0)