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 7660fd0 commit f11b41b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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@master
uses: Beniamiiin/toml-editor@1.0.0
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@master
uses: Beniamiiin/toml-editor@1.0.0
with:
file: "ultimate_pollbot.toml"
key: "telegram.api_key"
value: ${{ secrets.BOT_TOKEN }}

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

- name: Update api.admin in config file
uses: Beniamiiin/toml-editor@master
uses: Beniamiiin/toml-editor@1.0.0
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@master
uses: Beniamiiin/toml-editor@1.0.0
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@master
uses: Beniamiiin/toml-editor@1.0.0
with:
file: "ultimate_pollbot.toml"
key: "database.sql_uri"
Expand Down

0 comments on commit f11b41b

Please sign in to comment.