Skip to content

Commit

Permalink
try to install beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Arturomtz8 committed Sep 19, 2023
1 parent 2c19124 commit f9e6adf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
uses: 'google-github-actions/setup-gcloud@v1'
with:
version: '>= 363.0.0'
install_components: 'beta'
- name: 'Use gcloud CLI to deploy a cloud function gen 2'
run: |
gcloud beta functions deploy telegram-bot-handler \
--gen2 \
--concurrency=8 \
--concurrency=10
--runtime=go120 \
--region=us-central1 \
--source=. \
--trigger-http \
--allow-unauthenticated \
--entry-point=HandleTelegramWebhook \
--memory=256MiB \
--timeout=180s \
--timeout=360s \
--set-env-vars=GITHUB_BOT_TOKEN=${{ secrets.BOT_TOKEN }} \
--quiet

0 comments on commit f9e6adf

Please sign in to comment.