fixing the ci script to build and release if i modify a cog
This commit is contained in:
parent
61e4bb00a5
commit
a100d7a084
@ -30,7 +30,6 @@ lint_python:
|
|||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
- app/**/*
|
- app/**/*
|
||||||
- app/cogs/*
|
|
||||||
|
|
||||||
build_and_push_container:
|
build_and_push_container:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@ -43,7 +42,7 @@ build_and_push_container:
|
|||||||
- docker push ldooks/dragon-bot:$CI_PIPELINE_ID
|
- docker push ldooks/dragon-bot:$CI_PIPELINE_ID
|
||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
- app/*
|
- app/**/*
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
|
|
||||||
sync_argo:
|
sync_argo:
|
||||||
|
@ -145,7 +145,7 @@ class ServerUtils(commands.Cog):
|
|||||||
@commands.command(name="cleanup")
|
@commands.command(name="cleanup")
|
||||||
async def cleanup(self, ctx: commands.Context):
|
async def cleanup(self, ctx: commands.Context):
|
||||||
def is_discord_bot(m):
|
def is_discord_bot(m):
|
||||||
return m.author == bot.user
|
return m.author == self.bot.user
|
||||||
|
|
||||||
num = 20
|
num = 20
|
||||||
if len(ctx.message.content.split()) > 1:
|
if len(ctx.message.content.split()) > 1:
|
||||||
|
@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "169"
|
tag: "171"
|
||||||
repository: ldooks/dragon-bot
|
repository: ldooks/dragon-bot
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user