Skip to content

Commit

Permalink
deploy to middleware with CORS change
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Dec 13, 2024
1 parent 092c8b4 commit d7352e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy-ocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
deploy-ocr:
name: Deploy OCR
runs-on: ubuntu-latest
environment: demo
environment: dev
needs: [build-publish-ocr]
steps:
- uses: actions/checkout@v4
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Deploy OCR-API
uses: ./.github/actions/deploy-api
with:
deploy-env: demo
deploy-env: dev
docker-tag: ${{ needs.build-publish-ocr.outputs.docker_tag }}
docker-registry: ghcr.io
api-name: middleware
2 changes: 1 addition & 1 deletion ops/terraform/modules/database/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resource "azurerm_postgresql_flexible_server" "postgres_flexible_server" {
public_network_access_enabled = false

lifecycle {
prevent_destroy = false
prevent_destroy = true
ignore_changes = [zone]
}
}
Expand Down

0 comments on commit d7352e2

Please sign in to comment.