File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -137,24 +137,23 @@ jobs:
137
137
with :
138
138
workload_identity_provider : ${{ secrets.DIALTONE_GCP_WIP }}
139
139
service_account : ${{ secrets.DIALTONE_GCP_SA }}
140
- token_format : " access_token"
140
+ # token_format: "access_token"
141
141
142
- # - name: Set up Cloud SDK
143
- # uses: google-github-actions/setup-gcloud@v2
144
-
145
- - name : Send sms
146
- run : |
147
- curl -m 70 -X POST https://us-central1-dp-dialtone-design-system.cloudfunctions.net/send-sms-to-dialtone-channel-v1 \
148
- -H "Authorization: bearer ${{ steps.auth.outputs.access_token }}" \
149
- -H "Content-Type: application/json" \
150
- -d '{
151
- "message": "New blog post: ${{ env.BLOG_POST_HEADING }}, read full article: ${{ env.POST_URL }}"
152
- }'
142
+ - name : Set up Cloud SDK
143
+ uses : google-github-actions/setup-gcloud@v2
153
144
154
145
# - name: Send sms
155
146
# run: |
156
- # gcloud functions call send-sms-to-dialtone-channel \
157
- # --region=us-central1 --gen2 \
158
- # --data '{
147
+ # curl -m 70 -X POST https://us-central1-dp-dialtone-design-system.cloudfunctions.net/send-sms-to-dialtone-channel-v1 \
148
+ # -H "Authorization: bearer ${{ steps.auth.outputs.access_token }}" \
149
+ # -H "Content-Type: application/json" \
150
+ # -d '{
159
151
# "message": "New blog post: ${{ env.BLOG_POST_HEADING }}, read full article: ${{ env.POST_URL }}"
160
152
# }'
153
+
154
+ - name : Send sms
155
+ run : |
156
+ gcloud functions call send-sms-to-dialtone-channel-v1 \
157
+ --data '{
158
+ "message": "New blog post: ${{ env.BLOG_POST_HEADING }}, read full article: ${{ env.POST_URL }}"
159
+ }'
You can’t perform that action at this time.
0 commit comments