We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00cf203 commit 78478bfCopy full SHA for 78478bf
1 file changed
.github/workflows/gcp-inspect.yml
@@ -22,9 +22,8 @@ jobs:
22
- name: Set up Cloud SDK
23
uses: 'google-github-actions/setup-gcloud@v2'
24
25
- - name: Inspect Cloud Run
+ - name: Get Bot Info
26
run: |
27
- echo "=== Cloud Run Services ==="
28
- gcloud run services describe dcubabot --region us-central1 --project dcubabot --format="json" || true
29
- echo "=== Cloud Scheduler Jobs ==="
30
- gcloud scheduler jobs list --location us-central1 --project dcubabot || true
+ TOKEN=$(gcloud secrets versions access latest --secret="GCP_DCUBABOT_SECRET_TG_BOT_TOKEN" --project="dcubabot")
+ curl -s "https://api.telegram.org/bot${TOKEN}/getMe" > bot_info.json
+ cat bot_info.json
0 commit comments