Skip to content

Commit 5253988

Browse files
committed
update
1 parent d500c6b commit 5253988

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,24 @@ name: Deploy to Cloud Functions
33
on:
44
push:
55
branches:
6-
- main # mainブランチにpushされたときにデプロイする
6+
- main # main ブランチに push されたときに実行
77

88
jobs:
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:
@@ -39,5 +37,5 @@ jobs:
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

0 commit comments

Comments
 (0)