File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 5656 if : steps.check.outputs.changed == 'true'
5757 run : yarn install
5858
59+ - name : Authenticate to GCP
60+ if : steps.check.outputs.changed == 'true'
61+ uses : google-github-actions/auth@v2
62+ with :
63+ credentials_json : ${{ secrets.GCP_SA_KEY }}
64+
65+ - name : Install gcloud CLI
66+ if : steps.check.outputs.changed == 'true'
67+ uses : google-github-actions/setup-gcloud@v2
68+ with :
69+ project_id : ${{ secrets.GCP_PROJECT_ID }}
70+
5971 - name : Run deploy script
6072 if : steps.check.outputs.changed == 'true'
6173 run : |
Original file line number Diff line number Diff line change @@ -65,6 +65,16 @@ gcloud compute backend-services update api-backend \
6565 --timeout=600s
6666```
6767
68+ #### API Deploy CD
69+
70+ ``` shell
71+ gcloud iam service-accounts create ci-deployer \
72+ --display-name=" CI Deployer"
73+ gcloud projects add-iam-policy-binding compass-130ba --member=
" serviceAccount:[email protected] " --role=
" roles/artifactregistry.writer" 74+ gcloud projects add-iam-policy-binding compass-130ba --member=
" serviceAccount:[email protected] " --role=
" roles/storage.objectAdmin" 75+ gcloud iam service-accounts keys create keyfile.json
[email protected] 76+ ```
77+
6878Set up the saved search notifications job:
6979
7080``` bash
Original file line number Diff line number Diff line change 11{
22 "git" : {
3- "revision" : " af334c7 " ,
4- "commitDate" : " 2025-12-04 20:39:20 +0100" ,
3+ "revision" : " 91f69ed " ,
4+ "commitDate" : " 2025-12-04 20:51:09 +0100" ,
55 "author" : " MartinBraquet"
66 }
77}
You can’t perform that action at this time.
0 commit comments