fix: disable production deployments from main (#170)

Reverts https://github.com/coder/registry/pull/168 which should not have
been merged, and disables production deployments for now until a fix is
in place on the registry-server side.
This commit is contained in:
Garrett Delfosse 2025-07-02 07:30:47 -07:00 committed by GitHub
parent 9aacddef1a
commit a1cea027dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,8 +26,10 @@ jobs:
service_account: registry-v2-github@coder-registry-1.iam.gserviceaccount.com
- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
# - name: Deploy to dev.registry.coder.com
# run: gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch dev
- name: Deploy to registry.coder.com
run: |
gcloud builds triggers run 106610ff-41fb-4bd0-90a2-7643583fb9c0 --branch main
- name: Deploy to dev.registry.coder.com
run: gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch main
# garrett!: We don't have a good way to target this right now, so I'm commenting it out
# so we don't accidently deploy to production.
# - name: Deploy to registry.coder.com
# run: |
# gcloud builds triggers run 106610ff-41fb-4bd0-90a2-7643583fb9c0 --branch main