fixing the ci script to build and release if i modify a cog

This commit is contained in:
Luke Robles 2022-05-02 20:30:40 -07:00
parent 1db2f0a79f
commit 019f2dd1f8
3 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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