Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwizi committed May 14, 2024
1 parent 449cfef commit 2a01cce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker-bot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Publish Bot Docker Image

on:
push:
branches:
- monorepo
paths:
- 'src/**'
workflow_run:
workflows: ["generate-schema.yml"]
types:
- completed

jobs:
push_to_registry:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/generate-schema.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Generate Client

on:
workflow_run:
workflows: ["docker-api.yml"]
types:
- completed
push:
branches:
- master
- monorepo
paths:
- 'api/**'

jobs:
generate-schema:
Expand Down
2 changes: 1 addition & 1 deletion api/src/cs2_battle_bot/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@

SWAGGER_SETTINGS = {"SECURITY_DEFINITIONS": {"Basic": {"type": "basic"}}}

TEST = 9
TEST = 10

0 comments on commit 2a01cce

Please sign in to comment.