# 部署部署

Canonical URL: https://developers.iagenify.com/zh/sdk/agent/tools/deploy/
Language: zh

`deploy({ action, host?, kind?, label?, path?, server?, code?, … })`

每一个出版物都得到用户的批准,以各种方式——它部署的不是它。

Status: read, or publish · asked in full too · build first

## 操作 {#actions}

| 免费( 读) | 被问(出版) |
| --- | --- |
| `kinds` · `list` · `get` | `create` · `push` |
| `history` · `usage` | `rollback` · `remove` |
| — | `domain` · `undomain` |
| — | `rename` — category `storage`, not publish |

部署,不建设

## 将它指向源目录发布源; 指向构建输出发布一个网站。 该工具在自己的描述中写道, 因为错误是静态的, 部署成功 。 {#not-a-build}

> **Build with bash or a terminal first**
>
> 三种

## Three kinds {#kinds}

| kind | Is |
| --- | --- |
| `site` | Files, served as they are |
| `app` | Files plus a server module, named with `server` |
| `function` | A module, passed as `code` |

## 一个新的地址级别得到自己的证书,在主动连接失败之前,连接失败——这看起来像一个破碎的部署。 [iagenify_docs](/zh/sdk/agent/tools/iagenify-docs) 说这样的话, 代理被命令阅读 在第一次部署之前。 {#certificate}

有些东西从不出版

## 环境文件、 版本控制文件夹和依赖文件夹被丢弃, 并报告所丢弃的内容。 应用程序的服务器模块被从资产中提取, 因此其源代码没有被服务 。 {#never-published}

Environment files, version-control folders and dependency folders are dropped, and what was dropped is reported. An app's server module is pulled out of the assets, so its source is not served.

- [api.hosts](/zh/sdk/ref/hosts): Doing it from code.
- [publish](/zh/sdk/agent/permissions/categories/publish): Why it is always asked.
- [Agent tools](/zh/sdk/agent/tools): The 35, by family.
