Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[改善]Firebase Hostingの自動デプロイ設定を最新化 #95

Closed
h-yoshikawa44 opened this issue Sep 16, 2023 · 1 comment · Fixed by #97
Closed

[改善]Firebase Hostingの自動デプロイ設定を最新化 #95

h-yoshikawa44 opened this issue Sep 16, 2023 · 1 comment · Fixed by #97
Assignees
Labels
environment Improvements or additions to environment

Comments

@h-yoshikawa44
Copy link
Owner

h-yoshikawa44 commented Sep 16, 2023

概要

元々、GitHub Actions でデプロイしていたが、FIREBASE_TOKEN を使うやり方が非推奨になったらしい。

⚠  Authenticating with `FIREBASE_TOKEN` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started

最新の設定に更新して、デプロイが動作するようにしたい。

完了条件

  • CI での自動デプロイが再び動作するようにできている
@h-yoshikawa44 h-yoshikawa44 added the environment Improvements or additions to environment label Sep 16, 2023
@h-yoshikawa44 h-yoshikawa44 self-assigned this Sep 16, 2023
@h-yoshikawa44 h-yoshikawa44 changed the title [改善 [改善]Firebase Hostingの自動デプロイ設定を最新化 Sep 16, 2023
@h-yoshikawa44
Copy link
Owner Author

公式

https://firebase.google.com/docs/hosting/github-integration?hl=ja

コマンド入れ直し

npm install -D firebase-tools

ログイン

npx firebase login

サービスアカウント~CI 自動設定

firebase init hosting:github

質問の回答に応じて、CI の yml ファイルも生成してくれるので、
それを既存のものと調整。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment Improvements or additions to environment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant