diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9bed414..43cd935f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,6 @@ lint_python: rules: - changes: - app/**/* - - app/cogs/* build_and_push_container: stage: deploy @@ -43,7 +42,7 @@ build_and_push_container: - docker push ldooks/dragon-bot:$CI_PIPELINE_ID rules: - changes: - - app/* + - app/**/* - Dockerfile sync_argo: diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index 38fb20b2..a63235c8 100644 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -145,7 +145,7 @@ class ServerUtils(commands.Cog): @commands.command(name="cleanup") async def cleanup(self, ctx: commands.Context): def is_discord_bot(m): - return m.author == bot.user + return m.author == self.bot.user num = 20 if len(ctx.message.content.split()) > 1: diff --git a/helm/values.yaml b/helm/values.yaml index d7a7280f..1839e685 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: # Overrides the image tag whose default is the chart appVersion. - tag: "169" + tag: "171" repository: ldooks/dragon-bot pullPolicy: IfNotPresent