Skip to content

Commit d86fc5a

Browse files
committed
fix with rewritten history for apikey removal
Change-Id: Id348dcf8b0f2500e0ef8d16f581ecaa3238467c3
1 parent cae6298 commit d86fc5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/deploy.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
GIT_COMMIT=$(git rev-parse HEAD)
4+
sed -i'.original' -e "s/SECURITY\s*:\s*.*$/SECURITY: 'IAP'/" app.yaml
5+
sed -i'.original' -e "s/GIT_COMMIT\s*:\s*.*$/GIT_COMMIT: '$GIT_COMMIT'/" app.yaml
6+
gcloud app deploy

0 commit comments

Comments
 (0)