Skip to content

Commit

Permalink
Fix endpoint name & disable pre-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoom-Developer committed Nov 15, 2024
1 parent 054f037 commit 9c63ce6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ env:
BUILD_NAME: ${{ github.event.head_commit.message }}

jobs:
build:
runs-on: self-hosted
# build:
# runs-on: self-hosted

steps:
- name: Checkout
uses: actions/checkout@v4
# steps:
# - name: Checkout
# uses: actions/checkout@v4

- name: Build on github
run: docker compose build
# - name: Build on github
# run: docker compose build

build-and-run:
runs-on: self-hosted
needs: build
# needs: build

steps:
- name: Checkout
Expand Down Expand Up @@ -72,7 +72,8 @@ jobs:
fail-report:
runs-on: self-hosted
if: failure()
needs: [build, build-and-run]
# needs: [build, build-and-run]
needs: [build-and-run]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
rabbit
],
root_path=ROOT_PATH,
ignoring_log_endpoints=[("/system/ping", "GET"), ("/metrcis", "GET")]
ignoring_log_endpoints=[("/system/ping", "GET"), ("/metrics", "GET")]
)

0 comments on commit 9c63ce6

Please sign in to comment.