Skip to content

chore/Firebase Hosting, GitHub Actions 파일 추가#25

Merged
wnsgh7368 merged 1 commit intomainfrom
chore/firebase-hosting#24
Jan 3, 2026
Merged

chore/Firebase Hosting, GitHub Actions 파일 추가#25
wnsgh7368 merged 1 commit intomainfrom
chore/firebase-hosting#24

Conversation

@wnsgh7368
Copy link
Collaborator

📌 관련 이슈

✨ 변경 내용

  • firebase.json, .firebaserc 파일 추가
  • .github/workflows 디렉토리 추가
  • 해당 디렉토리 하위에 firebase-hosting-merge.yml, firebase-hosting-pull-request.yml 파일 추가

@wnsgh7368 wnsgh7368 self-assigned this Jan 3, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @wnsgh7368, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 Pull Request는 프로젝트의 Firebase 호스팅 환경을 설정하는 데 중점을 둡니다. .firebaserc 파일로 기본 Firebase 프로젝트를 지정하고, firebase.json 파일로 배포할 정적 파일의 위치(dist 디렉토리)와 단일 페이지 애플리케이션(SPA)을 위한 URL 재작성 규칙을 정의합니다. 또한, 설명에 따르면 GitHub Actions를 활용한 자동 배포 워크플로우를 추가하려는 의도가 있었으나, 해당 워크플로우 파일은 현재 패치에 포함되어 있지 않습니다. 이 변경사항은 향후 프로젝트의 배포 프로세스를 간소화하는 기반을 마련합니다.

Highlights

  • Firebase 호스팅 설정 추가: 프로젝트의 Firebase 호스팅을 위한 .firebasercfirebase.json 파일이 추가되었습니다.
  • SPA 라우팅 구성: firebase.json 파일에 단일 페이지 애플리케이션(SPA)을 위한 리라이트 규칙이 설정되었습니다.
  • GitHub Actions 워크플로우 의도: 설명에 따르면 Firebase 호스팅 배포를 위한 GitHub Actions 워크플로우 파일 추가가 의도되었으나, 현재 제공된 패치에는 Firebase 설정 파일만 포함되어 있습니다.
Ignored Files
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/firebase-hosting-merge.yml
    • .github/workflows/firebase-hosting-pull-request.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link

github-actions bot commented Jan 3, 2026

Visit the preview URL for this PR (updated for commit e172de8):

https://ttorang--pr25-chore-firebase-hosti-20elo2bs.web.app

(expires Sat, 10 Jan 2026 07:56:41 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b554669f2531ae9a6954d553a841ad9a6c4ceb6d

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Firebase 호스팅을 위한 설정 파일 추가 작업을 확인했습니다. SPA 배포를 위한 기본적인 firebase.json.firebaserc 파일이 잘 구성되었습니다. 한 가지 개선점으로, firebase.json에 캐시 정책을 명시적으로 추가하여 애플리케이션의 성능과 업데이트 안정성을 높이는 것을 제안합니다. 자세한 내용은 파일 리뷰 코멘트를 참고해주세요.

Comment on lines +9 to +14
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Firebase 호스팅 설정에 캐시 제어 헤더를 추가하여 성능을 최적화하는 것을 제안합니다. Vite는 빌드 시 에셋 파일(JS, CSS 등)에 고유한 해시를 포함하므로, 이 파일들은 브라우저에 오래 캐시하여 로딩 속도를 높일 수 있습니다. 반면, index.html 파일은 캐시하지 않아야 사용자가 배포 시 항상 최신 버전의 애플리케이션을 받을 수 있습니다.

다음과 같이 headers 설정을 추가하여 캐시 동작을 명시적으로 제어할 수 있습니다.

    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ],
    "headers": [
      {
        "source": "**/!(*.html)",
        "headers": [
          {
            "key": "Cache-Control",
            "value": "public, max-age=31536000, immutable"
          }
        ]
      },
      {
        "source": "**/*.html",
        "headers": [
          {
            "key": "Cache-Control",
            "value": "no-cache, no-store, must-revalidate"
          }
        ]
      }
    ]

@wnsgh7368 wnsgh7368 changed the title chore: firebase hosting, github action 파일 추가 chore: firebase hosting, github action 파일 추가#24 Jan 3, 2026
@wnsgh7368 wnsgh7368 merged commit 9061039 into main Jan 3, 2026
3 checks passed
@AndyH0ng AndyH0ng changed the title chore: firebase hosting, github action 파일 추가#24 chore: firebase hosting, github action 파일 추가 Jan 3, 2026
@AndyH0ng AndyH0ng changed the title chore: firebase hosting, github action 파일 추가 chore/Firebase Hosting, GitHub Actions 파일 추가 Jan 3, 2026
@AndyH0ng AndyH0ng linked an issue Jan 4, 2026 that may be closed by this pull request
@AndyH0ng AndyH0ng deleted the chore/firebase-hosting#24 branch January 14, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Firebase Hosting과 Github Actions를 이용한 자동 배포

1 participant