Skip to content

Commit

Permalink
Fix toml-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Beniamiiin committed Mar 21, 2024
1 parent f39b04b commit fe66f99
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,42 +29,42 @@ jobs:
target: "ultimate_pollbot.toml"

- name: Update telegram.bot_name in config file
uses: Beniamiiin/toml-editor@1.1.0
with:
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "telegram.bot_name"
value: ${{ vars.BOT_NAME }}

- name: Update telegram.api_key in config file
uses: Beniamiiin/toml-editor@1.1.0
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "telegram.api_key"
value: ${{ secrets.BOT_TOKEN }}

- name: Update telegram.admins in config file
uses: Beniamiiin/toml-editor@1.1.0
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "telegram.admins"
value: ${{ vars.BOT_ADMINS }}

- name: Update api.admin in config file
uses: Beniamiiin/toml-editor@1.1.0
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "api.admin"
value: ${{ vars.API_ADMIN }}

- name: Update api.seeders_chat_id in config file
uses: Beniamiiin/toml-editor@1.1.0
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "api.seeders_chat_id"
value: ${{ vars.SEEDERS_CHAT_ID }}

- name: Update database.sql_uri in config file
uses: Beniamiiin/toml-editor@1.1.0
uses: colathro/toml-editor@1.1.1
with:
file: "ultimate_pollbot.toml"
key: "database.sql_uri"
Expand Down

0 comments on commit fe66f99

Please sign in to comment.