Skip to content

Commit

Permalink
[CI] update code-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 committed Jan 20, 2024
1 parent 63f4729 commit 0876f6c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public class FCMService {
// fcm 기본 설정 진행
// 이 과정에서 access token은 firebase가 자동 처리
@PostConstruct
public void init() {
try {
public void settingInfo() throws IOException{
System.out.println(FCM_URL+" "+fireBaseScope+" "+FCM_PRIVATE_KEY_PATH);
GoogleCredentials googleCredentials = GoogleCredentials
.fromStream(new ClassPathResource(FCM_PRIVATE_KEY_PATH).getInputStream())
Expand All @@ -59,9 +58,6 @@ public void init() {
if (FirebaseApp.getApps().isEmpty()) {
FirebaseApp.initializeApp(options);
}
} catch (IOException e) {
throw new RuntimeException(e.getMessage());
}
}

/**
Expand Down

0 comments on commit 0876f6c

Please sign in to comment.