Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: removed staging service (#8716)

Danny Xu787d161be599
diff --git a/.github/workflows/update-render-staging-service.yml b/.github/workflows/update-render-staging-service.yml
deleted file mode 100644
index 7bfce71604..0000000000
--- a/.github/workflows/update-render-staging-service.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-name: Update render staging service
-
-on:
- push:
- branches:
- - "release/*.*.*"
- # Allows you to run this workflow manually from the Actions tab
- workflow_dispatch:
-
-jobs:
- update-render:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- # The first service_id using PG 15 and the second using PG 14
- service_id: ["srv-c760lk4objdcv67lc6ug", "srv-ce02beha6gdsa605m5eg"]
- steps:
- - uses: actions/checkout@v4
- - name: Extract version
- run: |
- echo "RELEASE_VERSION=${GITHUB_REF_NAME#release/}" >> $GITHUB_ENV
- - name: Update staging.bytebase.com
- run: |
- RENDER_RESPONSE=$(curl --request PATCH \
- -w "%{http_code}" \
- --url https://api.render.com/v1/services/${{ matrix.service_id }} \
- --header 'Accept: application/json' \
- --header 'Authorization: Bearer ${{ secrets.RENDER_API_KEY }}' \
- --header 'Content-Type: application/json' \
- --data '
- {
- "autoDeploy": "yes",
- "branch": "release/${{ env.RELEASE_VERSION }}"
- }
- '
- )
- echo ${RENDER_RESPONSE}
- if [[ "$(echo ${RENDER_RESPONSE} | tail -c 4)" != "200" ]]; then
- exit 1
- fi