Skip to content

Commit

Permalink
fix dir
Browse files Browse the repository at this point in the history
  • Loading branch information
anycodes committed Jul 6, 2021
1 parent 7357e55 commit 7414f65
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 35 deletions.
12 changes: 6 additions & 6 deletions doc/classes/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h3>constructor</h3>
<aside class="tsd-sources">
<p>Overrides BaseComponent.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/index.ts#L16">index.ts:16</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/index.ts#L16">index.ts:16</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -143,7 +143,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> client</h3>
<aside class="tsd-sources">
<p>Inherited from BaseComponent.client</p>
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/common/base.ts#L9">common/base.ts:9</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/common/base.ts#L9">common/base.ts:9</a></li>
</ul>
</aside>
</section>
Expand All @@ -169,7 +169,7 @@ <h3>__doc</h3>
<aside class="tsd-sources">
<p>Inherited from BaseComponent.__doc</p>
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/common/base.ts#L34">common/base.ts:34</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/common/base.ts#L34">common/base.ts:34</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -193,7 +193,7 @@ <h3>__get<wbr>Base<wbr>Path</h3>
<aside class="tsd-sources">
<p>Inherited from BaseComponent.__getBasePath</p>
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/common/base.ts#L21">common/base.ts:21</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/common/base.ts#L21">common/base.ts:21</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand All @@ -210,7 +210,7 @@ <h3>github</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/index.ts#L47">index.ts:47</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/index.ts#L47">index.ts:47</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -238,7 +238,7 @@ <h3>index</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Serverless-Devs/cicd/blob/03f494d/src/index.ts#L26">index.ts:26</a></li>
<li>Defined in <a href="https://github.com/serverless-devs/cicd/blob/7357e55/src/index.ts#L26">index.ts:26</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
6 changes: 3 additions & 3 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 98 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cicd",
"version": "0.0.2",
"version": "0.0.3",
"description": "Serverless Devs CI/CD 组件",
"keywords": [
"Serverless",
Expand Down
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Component
Name: cicd
Provider:
- 其它
Version: 0.0.2
Version: 0.0.3
Description: Serverless Devs CI/CD 组件
HomePage: https://www.serverless-devs.com
Tags: #标签详情
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ export default class ComponentDemo extends BaseComponent {
2. 返回数据
*/

await fse.mkdirs('./.github/workflow/');
await fse.mkdirs('./.github/workflows/');
const templateData = await fse.readFileSync(path.join(__dirname, '../', 'src/template/github/action/serverless-devs.yml'))
await fse.writeFileSync('./.github/workflow/serverless-devs.yml', templateData);
await fse.writeFileSync('./.github/workflows/serverless-devs.yml', templateData);

logger.info(`
Expand Down

0 comments on commit 7414f65

Please sign in to comment.