Skip to content

Commit

Permalink
GCP one click deployment postcreate hook
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneLightsOn committed May 30, 2024
1 parent 1b014a0 commit e8802d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"postcreate": {
"commands": [
"./gcp_postcreate_hook.sh"
"chmod +x .cohere-toolkit/gcp_postcreate_hook.sh",
".cohere-toolkit/gcp_postcreate_hook.sh"
]
}
},
Expand Down
1 change: 1 addition & 0 deletions gcp_postcreate_hook.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
echo "Region $GOOGLE_CLOUD_REGION"
echo "Project $GOOGLE_CLOUD_PROJECT"
echo "Service $K_SERVICE"
Expand Down

0 comments on commit e8802d1

Please sign in to comment.