Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxie-crypto committed Apr 7, 2023
1 parent 9664de0 commit 539bc47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 2 additions & 18 deletions publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,9 @@ Type: Application
Name: fc-stable-diffusion
Provider:
- 阿里云
Version: 0.0.1
Description: 简短的描述/介绍
Version: 0.0.2
Description: 使用serverless devs将stable-diffusion部署到阿里云函数计算上
HomePage: 项目首页地址
Tags: #标签详情
- 部署函数
Category: Web框架
Service: # 使用的服务
函数计算: #
# Runtime: Python 3.6 如果服务是函数,还需要增加Runtime
Authorities: #权限描述
- 创建函数 # 所需要的权限
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
required: # 必填项
- region
properties:
access:
title: 访问秘钥
type: string
default: default
description:
4 changes: 2 additions & 2 deletions src/s.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
edition: 1.0.0
name: fc-stable-diffusion
access: {{access}}
access: default
vars:
region: 'cn-shanghai'
service: 'fc-stable-diffuson'
Expand Down Expand Up @@ -59,7 +59,7 @@ services:
component: fc
actions:
pre-deploy:
- run: npm i
- run: npm i --force
path: ./code
props:
region: ${vars.region}
Expand Down

0 comments on commit 539bc47

Please sign in to comment.