feat(terraform): moved all terraform files to a single folder and upg… #76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Indexing service | |
| concurrency: indexing | |
| permissions: | |
| id-token: write | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/**" | |
| - "infrastructure/terraform/internal/indexing/**" | |
| - "infrastructure/terraform/modules/**" | |
| - "apps/indexing/**" | |
| jobs: | |
| build-publish-indexing: | |
| name: Build and publish the Indexing service | |
| uses: ./.github/workflows/reusable-dotnet-service.yaml | |
| with: | |
| service-name: indexing | |
| service-path: apps/indexing | |
| secrets: inherit | |
| provision-indexing: | |
| name: Deploy the Indexing service | |
| needs: build-publish-indexing | |
| uses: ./.github/workflows/reusable-provision.yaml | |
| with: | |
| environment: ${{ vars.ENVIRONMENT }} | |
| infrastructure-path: internal/indexing | |
| service-name: indexing | |
| secrets: inherit |