Skip to content

feat: add cosmos DB

feat: add cosmos DB #3

Workflow file for this run

name: Shared
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repostory
uses: actions/checkout@v4
- name: Azure Login using OIDC authentication
uses: azure/login@v1
with:
tenant-id: ${{ secrets.OP_TENANT_ID }}
subscription-id: ${{ secrets.OPLAB_SUBSCRIPTION_ID }}
client-id: ${{ secrets.ZEROTRUSTAPP_DEV_CLIENT_ID }}
- name: Deploy Azure resources
uses: azure/arm-deploy@v2
with:
template: ./deployment/main.bicep
resourceGroupName: ${{ vars.RG_ZEROTRUSTAPP_DEV }}
parameters: ./deployment/main.bicepparam
scope: resourcegroup