Step script added to create secrets in gh.
Co-authored-by: jmhbnz <mail@jamesblair.net>
This commit is contained in:
@ -104,11 +104,12 @@ gcloud iam service-accounts keys create key.json \
|
||||
|
||||
Once new service account is created and key.json file is created, We will have to upload these details into GitHub and automate the end to end CI/CD workflow.
|
||||
|
||||
Tange the shell block below to a shell script by pressing *, b t* in emacs command mode:
|
||||
Tangle the shell block below to a shell script by pressing *, b t* in emacs command mode:
|
||||
|
||||
Once new srvice account is created and key.json file is created, We will have to upload these details into GitHub and automate the end to end CI/CD workflow.
|
||||
#+begin_src bash :shebang #!/bin/bash :tangle 3-create-github-secrets.sh
|
||||
TODO
|
||||
echo $gcp_project_id | gh secret set GCP_PROJECT_ID
|
||||
cat key.json | jq '.client_email' -r | gh secret set GCP_EMAIL
|
||||
cat key.json | gh secret set GCP_CREDENTIALS
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user