Skip to content

Commit

Permalink
docs: fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wudifeixue committed Mar 29, 2024
1 parent d3a9df2 commit b08ffbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Automatic updates are included.

3. [Sign up for Fly.io](https://fly.io/app/sign-up) and install the [flyctl CLI](https://fly.io/docs/hands-on/install-flyctl/);
4. Run `fly launch` and choose a unique name and region to deploy;
5. Use `fly secrets set KEY=VALUE` to [configure some modules](#configuration-route-specific-configurations);
5. Use `fly secrets set KEY=VALUE` to [configure some modules](config#route-specific-configurations);
6. [Set up automatic deployment via GitHub Actions](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/);
7. (Optional) Use `fly certs add your domain` to configure a custom domain, and follow the instructions to configure the related domain resolution at your DNS service provider (you can check the domain configuration status on the Dashboard Certificate page).

Expand All @@ -503,7 +503,7 @@ Upgrade: On the homepage of your Forked repository, click "Sync fork - Update Br
```

Depending on the actual situation, you may want to use other image tags, please read the relevant content of [Docker Image](#docker-image);
4. Modify the `[env]` section in fly.toml or use `fly secrets set KEY=VALUE` to [configure some modules](#configuration-route-specific-configurations);
4. Modify the `[env]` section in fly.toml or use `fly secrets set KEY=VALUE` to [configure some modules](config#route-specific-configurations);
5. Execute `fly deploy` to start the application;
6. (Optional) Use `fly certs add your domain` to configure a custom domain, and follow the instructions to configure the related domain resolution at your DNS service provider (you can check the domain configuration status on the Dashboard Certificate page).

Expand Down
4 changes: 2 additions & 2 deletions src/zh/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ Heroku [不再](https://blog.heroku.com/next-chapter) 提供免费服务。

4. 运行 `fly launch`, 并选择一个唯一的名称和实例地区;

5. 使用 `fly secrets set KEY=VALUE` [对部分模块进行配置](#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi);
5. 使用 `fly secrets set KEY=VALUE` [对部分模块进行配置](config#route-specific-configurations);

6. [配置通过 GitHub Actions 自动部署](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/);

Expand All @@ -496,7 +496,7 @@ Heroku [不再](https://blog.heroku.com/next-chapter) 提供免费服务。
```

根据实际情况,你可能希望使用其他镜像标签,请阅读 [Docker 镜像](#docker-jing-xiang) 的有关内容;
4. 修改 fly.toml 中的 `[env]` 段或使用`fly secrets set KEY=VALUE` [对部分模块进行配置](#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi);
4. 修改 fly.toml 中的 `[env]` 段或使用`fly secrets set KEY=VALUE` [对部分模块进行配置](config#route-specific-configurations);
5. 执行 `fly deploy` 启动应用;
6. (可选)利用 `fly certs add 你的域名` 来配置自定义域名,并根据指引在你的 DNS 服务商配置相关域名解析(你可在 Dashboard Certificate 页面查看域名的配置状态)。

Expand Down

0 comments on commit b08ffbd

Please sign in to comment.