-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58e26be
commit bb5f9d8
Showing
3 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Deploy | ||
|
||
We are using Google cloud run to deploy this bot. We are also using Github actions. In order to create the Dockerfile and the Github action script we followed this [blog post](https://cloud.google.com/community/tutorials/cicd-cloud-run-github-actions). | ||
|
||
## Setup service account | ||
|
||
``` | ||
gcloud iam service-accounts create bngo-ci \ | ||
--description="Cloud Run deploy account for bngo" \ | ||
--display-name="bngo-Cloud-Run-Deploy" | ||
gcloud projects add-iam-policy-binding brikev \ | ||
--member=serviceAccount:[email protected] \ | ||
--role=roles/run.admin | ||
gcloud iam service-accounts keys create key.json \ | ||
--iam-account [email protected] | ||
``` |