Skip to content

Commit

Permalink
Lint (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
niusia-ua authored Sep 25, 2023
1 parent 284f5eb commit 16a5336
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 20 deletions.
6 changes: 2 additions & 4 deletions site/docs/es/hosting/cyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Como se muestra en la línea resaltada arriba, estamos usando `/<bot-token>` en

Cree un archivo `.env` en la raíz de su proyecto con el siguiente contenido:

```
```text
BOT_TOKEN=<bot-token>
NODE_ENV=DEVELOPMENT
```
Expand All @@ -136,9 +136,7 @@ Nodemon vigilará tu archivo `bot.ts` y reiniciará tu bot en cada cambio de có

1. Crea un repositorio en GitHub, puede ser privado o público.
2. Empuja tu código.

> Es recomendable que tengas una única rama estable y hagas tus pruebas en ramas separadas, para no desplegar comportamientos inesperados en producción.
> Es recomendable que tengas una única rama estable y hagas tus pruebas en ramas separadas, para no desplegar comportamientos inesperados en producción.
3. Visita tu [Cyclic dashboard](https://app.cyclic.sh).
4. Haz clic en "Link Your Own" y selecciona tu repositorio.
5. Vaya a Avanzado > Variables y añada su `BOT_TOKEN`.
Expand Down
6 changes: 2 additions & 4 deletions site/docs/hosting/cyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ As shown in the highlighted line above, we are using the `/<bot-token>` instead

Create a `.env` file at the root of your project with the following contents:

```
```text
BOT_TOKEN=<bot-token>
NODE_ENV=DEVELOPMENT
```
Expand All @@ -136,9 +136,7 @@ Nodemon will watch your `bot.ts` file and restart your bot on every code change.

1. Create a repository on GitHub, it can be either private or public.
2. Push your code.

> It is recommended that you have a single stable branch and you do your testing in separate branches, so that you won't land unexpected behaviors to production.
> It is recommended that you have a single stable branch and you do your testing in separate branches, so that you won't land unexpected behaviors to production.
3. Visit your [Cyclic dashboard](https://app.cyclic.sh).
4. Click "Link Your Own" and select your repository.
5. Go to Advanced > Variables and add your `BOT_TOKEN`.
Expand Down
6 changes: 2 additions & 4 deletions site/docs/id/hosting/cyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Seperti yang terlihat pada baris yang disorot di atas, kita menggunakan path `/<

Buat sebuah file `.env` di root proyek lalu isi dengan konten berikut:

```
```text
BOT_TOKEN=<bot-token>
NODE_ENV=DEVELOPMENT
```
Expand All @@ -136,9 +136,7 @@ Nodemon akan memantau file `bot.ts` dan memulai ulang bot ketika terjadi perubah

1. Buat sebuah repositori di GitHub, bisa berupa privat ataupun publik.
2. Push kodenya.

> Disarankan memiliki branch utama untuk produksi dan branch terpisah untuk melakukan pengetesan agar tidak terjadi hal-hal yang tidak diinginkan di tahap produksi.
> Disarankan memiliki branch utama untuk produksi dan branch terpisah untuk melakukan pengetesan agar tidak terjadi hal-hal yang tidak diinginkan di tahap produksi.
3. Kunjungi [dashboard Cyclic](https://app.cyclic.sh).
4. Klik "Link Your Own" lalu pilih repositorinya.
5. Pergi ke Advanced > Variables, kemudian tambahkan `BOT_TOKEN`-nya.
Expand Down
6 changes: 2 additions & 4 deletions site/docs/uk/hosting/cyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if (process.env.NODE_ENV === "DEVELOPMENT") {

Створіть файл `.env` у корені вашого проєкту з наступним вмістом:

```
```text
BOT_TOKEN=<токен-бота>
NODE_ENV=DEVELOPMENT
```
Expand All @@ -136,9 +136,7 @@ Nodemon стежитиме за вашим файлом `bot.ts` і переза

1. Створіть репозиторій на GitHub, він може бути як приватним, так і публічним.
2. Завантажте свій код.

> Рекомендується мати одну стабільну гілку і виконувати тестування в окремих гілках, щоб не допустити непередбачуваної поведінки у продакшні.
> Рекомендується мати одну стабільну гілку і виконувати тестування в окремих гілках, щоб не допустити непередбачуваної поведінки у продакшні.
3. Відвідайте свою [панель керування Cyclic](https://app.cyclic.sh).
4. Натисніть "Link Your Own" і виберіть свій репозиторій.
5. Перейдіть в "Advanced" > "Variables" і додайте свій `BOT_TOKEN`.
Expand Down
6 changes: 2 additions & 4 deletions site/docs/zh/hosting/cyclic.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if (process.env.NODE_ENV === "DEVELOPMENT") {

在你的项目的根目录下创建一个包含以下内容的 `.env` 的文件:

```
```text
BOT_TOKEN=<bot-token>
NODE_ENV=DEVELOPMENT
```
Expand All @@ -135,9 +135,7 @@ Nodemon 将监视你的 `bot.ts` 文件,并在每次代码更改时重新启

1. 在 Github 上创建一个仓库,可以是私有的也可以是公开的。
2. 推送你的代码。

> 建议你有一个的稳定分支,以及在单独的分支中进行测试,这样就不会在生产环境中出现意外的行为。
> 建议你有一个的稳定分支,以及在单独的分支中进行测试,这样就不会在生产环境中出现意外的行为。
3. 访问你的 [Cyclic dashboard](https://app.cyclic.sh)
4. 点击 “Link Your Own” 并选择你的仓库。
5. 跳转到 Advanced > Variables,并添加你的 `BOT_TOKEN`
Expand Down

0 comments on commit 16a5336

Please sign in to comment.