fixing the ci script to build and release if i modify a cog
This commit is contained in:
parent
1db2f0a79f
commit
019f2dd1f8
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user