Compare commits
2 Commits
8997cffc16
...
0afcc9b735
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0afcc9b735 | ||
|
|
a206041b0c |
32
.gitea/workflows/build.yml
Normal file
32
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "**" ]
|
||||
pull_request:
|
||||
branches: [ "**" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 19
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "19"
|
||||
cache: gradle
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew -q assemble
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Trigger deploy webhook
|
||||
run: |
|
||||
curl -sS -X POST http://127.0.0.1:9000/hooks/deploy-trisolarisserver
|
||||
@@ -18,6 +18,11 @@ class FirebaseAuthFilter(
|
||||
private val appUserRepo: AppUserRepo
|
||||
) : OncePerRequestFilter() {
|
||||
|
||||
override fun shouldNotFilter(request: HttpServletRequest): Boolean {
|
||||
val path = request.requestURI
|
||||
return path == "/" || path == "/health"
|
||||
}
|
||||
|
||||
override fun doFilterInternal(
|
||||
request: HttpServletRequest,
|
||||
response: HttpServletResponse,
|
||||
|
||||
Reference in New Issue
Block a user