Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix api directory

Acho Arnoldcb2042d706f3
diff --git a/api/cloudbuild.yaml b/api/cloudbuild.yaml
index 9177a265..f653e297 100644
--- a/api/cloudbuild.yaml
+++ b/api/cloudbuild.yaml
@@ -1,20 +1,20 @@
steps:
- - name: 'gcr.io/kaniko-project/executor:latest'
- id: 'build-and-push'
- dir: 'backend'
+ - name: "gcr.io/kaniko-project/executor:latest"
+ id: "build-and-push"
+ dir: "api"
args:
- - '--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA'
- - '--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:latest'
- - '--dockerfile=Dockerfile'
- - '--context=.'
- - '--build-arg=GIT_COMMIT=$COMMIT_SHA'
- - '--snapshotMode=time'
+ - "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA"
+ - "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:latest"
+ - "--dockerfile=Dockerfile"
+ - "--context=."
+ - "--build-arg=GIT_COMMIT=$COMMIT_SHA"
+ - "--snapshotMode=time"
- - id: 'Deploy to Cloud Run'
- name: 'gcr.io/cloud-builders/gcloud'
- entrypoint: 'bash'
+ - id: "Deploy to Cloud Run"
+ name: "gcr.io/cloud-builders/gcloud"
+ entrypoint: "bash"
args:
- - '-c'
+ - "-c"
- |
gcloud run deploy $_SERVICE_NAME \
--image=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA \
@@ -25,4 +25,4 @@ options:
substitutions:
_SERVICE_NAME: http-sms-api
- _REGION: us-east1
\ No newline at end of file
+ _REGION: us-east1