你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StaticSiteBuildProperties interface
生成静态站点的属性。
属性
api |
在部署 Azure Functions API 应用程序期间运行的自定义命令。 |
api |
存储库中 API 代码的路径。 |
app |
已弃用:生成后应用项目的路径(弃用为 OutputLocation) |
app |
在部署静态内容应用程序期间运行的自定义命令。 |
app |
存储库中应用代码的路径。 |
github |
Github Action 机密名称重写。 |
output |
生成后应用的输出路径。 |
skip |
跳过 Github Action 工作流生成。 |
属性详细信息
apiBuildCommand
在部署 Azure Functions API 应用程序期间运行的自定义命令。
apiBuildCommand?: string
属性值
string
apiLocation
存储库中 API 代码的路径。
apiLocation?: string
属性值
string
appArtifactLocation
已弃用:生成后应用项目的路径(弃用为 OutputLocation)
appArtifactLocation?: string
属性值
string
appBuildCommand
在部署静态内容应用程序期间运行的自定义命令。
appBuildCommand?: string
属性值
string
appLocation
存储库中应用代码的路径。
appLocation?: string
属性值
string
githubActionSecretNameOverride
Github Action 机密名称重写。
githubActionSecretNameOverride?: string
属性值
string
outputLocation
生成后应用的输出路径。
outputLocation?: string
属性值
string
skipGithubActionWorkflowGeneration
跳过 Github Action 工作流生成。
skipGithubActionWorkflowGeneration?: boolean
属性值
boolean