testing new ci/cd
CI/CD / Backend Unit Tests (push) Successful in 1m48s
CI/CD / Deploy (push) Has been skipped
CI/CD / Backend Unit Tests (pull_request) Successful in 1m45s
CI/CD / Deploy (pull_request) Has been skipped

This commit is contained in:
2026-06-10 18:03:56 +02:00
parent 28bd6a8cbc
commit b53805ee3f
5 changed files with 121 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM eclipse-temurin:21-jre-jammy
WORKDIR /app
COPY app.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
@@ -17,7 +17,7 @@ public class FirebaseConfig {
@Bean
public FirebaseApp firebaseApp() throws IOException {
GoogleCredentials credentials = GoogleCredentials
.fromStream(new ClassPathResource("etf-oglasi-firebase.json").getInputStream())
.fromStream(new ClassPathResource("firebase.json").getInputStream())
.createScoped(List.of("https://www.googleapis.com/auth/firebase.messaging"));
FirebaseOptions options = FirebaseOptions.builder()