From a849dc7990c32323a9ca2bc5a85a85f86d5e4c2c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 6 Feb 2024 17:57:48 +0400 Subject: [PATCH] fix ci/cd --- .github/workflows/develop.yml | 2 +- src/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 1938371..2ca6182 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -22,7 +22,7 @@ jobs: key: ${{ secrets.PRIVATE_KEY }} script: | cd ./_work/${{ env.REPO_NAME }}/${{ env.REPO_NAME }} - docker compose build + docker compose build --no-cache deploy: needs: [build] diff --git a/src/__main__.py b/src/__main__.py index e2cb0bc..6a7b8a9 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -31,7 +31,7 @@ def main() -> None: application.add_handlers(get_handlers()) application.add_error_handler(handlers.error_handler) # send a message to the developer when the bot is ready - application.run_polling(allowed_updates=Update.ALL_TYPES) + application.run_polling() if __name__ == "__main__":