Skip to content

Commit

Permalink
fix: one more time
Browse files Browse the repository at this point in the history
  • Loading branch information
apogiatzis committed Nov 22, 2024
1 parent 58b101a commit 226b1c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push_image_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
runAfterDeployment: |
cd ~/ovisbot
if [ -f docker-compose.yml ]; then
docker compose -f docker-compose.yml -f docker-compose.prod.yml down || true
docker compose -f docker-compose.yml -f docker-compose.prod.yml pull
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down || true
docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
else
echo "docker-compose.yml not found in the repository!"
exit 1
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ services:
links:
- mongo
mongo:
image: mongo
ports:
- '27017:27017'
image: mongo:6
restart: always
volumes:
- db-data:/data/db
Expand Down
5 changes: 2 additions & 3 deletions ovisbot/extensions/ctf/ctf.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ async def finish_error(self, ctx, error):
@ctf.command()
async def solve(self, ctx):
"""
Marks the current challenge as solved by you.
Marks the current challenge as solved by you.
Addition of team mates that helped to solve is optional
"""
chall_name = get_chall_name(ctx)
Expand Down Expand Up @@ -454,8 +454,7 @@ async def solve(self, ctx):
ctx.channel.category.channels, name="general"
)
await general_channel.send(
f"{solvers_str} solved the {chall_name} challenge! {
reward_emoji} {reward_emoji}"
f"{solvers_str} solved the {chall_name} challenge! {reward_emoji} {reward_emoji}"
)

@solve.error
Expand Down

0 comments on commit 226b1c7

Please sign in to comment.