File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,24 @@ name: Deploy to Cloud Functions
33on :
44 push :
55 branches :
6- - main # mainブランチにpushされたときにデプロイする
6+ - main # main ブランチに push されたときに実行
77
88jobs :
99 deploy :
10- runs-on : ubuntu-latest # Ubuntuで実行
10+ runs-on : ubuntu-latest
1111
1212 steps :
13- # GitHubリポジトリからコードを取得
13+ # コード取得
1414 - name : Checkout code
1515 uses : actions/checkout@v4
1616
17- # GCP サービスアカウントで認証
18- # secrets.GCP_SA_KEY にサービスアカウントのJSONキーを保存しておく
17+ # GCP 認証
1918 - name : Authenticate to Google Cloud
2019 uses : google-github-actions/auth@v2
2120 with :
2221 credentials_json : ${{ secrets.GCP_SA_KEY }}
2322
24- # gcloud CLIのセットアップ
25- # secrets.GCP_PROJECT_ID にGCPのプロジェクトIDを入れておく
23+ # gcloud CLI セットアップ
2624 - name : Setup Google Cloud SDK
2725 uses : google-github-actions/setup-gcloud@v2
2826 with :
3937 --entry-point=onUserSettingsUpdate \
4038 --trigger-event-filters="type=google.cloud.firestore.document.v1.updated" \
4139 --trigger-event-filters="database=(default)" \
42- --trigger-event-filters-path-pattern=' document=users/{userId}/noticeSetting'
40+ --trigger-event-filters-path-pattern=" document=users/{userId}/noticeSetting" \
4341 --timeout=60s
You can’t perform that action at this time.
0 commit comments