Skip to content

Commit

Permalink
Merge pull request #186 from devsapp/support/check-domain-dns
Browse files Browse the repository at this point in the history
Support/check domain dns
  • Loading branch information
wss-git authored Oct 27, 2022
2 parents fb1eac7 + 711216c commit 485df93
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

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: fc-deploy
Provider:
- 阿里云
Version: 0.0.95
Version: 0.0.96
Description: 阿里云函数计算基础组件
HomePage: https://github.com/devsapp/fc-base
Tags:
Expand Down
9 changes: 7 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,13 @@ export default class FcDeployComponent {

await logger.task('Creating custom domain', [
{
title: 'Check domain config auto dns...',
enabled: () => !_.isEmpty(resolvedCustomDomainConfs),
title: 'Checking Domain config ... (Binding the test domain will take some time. Please wait.)',
enabled: () => {
if (process.env.CLOSE_CHECK_DOMAIN_CON) {
return false;
}
return !_.isEmpty(resolvedCustomDomainConfs);
},
task: async () => {
for (const fcCustomDomain of this.fcCustomDomains) {
if (fcCustomDomain.useRemote || !fcCustomDomain.isDomainNameAuto) {
Expand Down

0 comments on commit 485df93

Please sign in to comment.