File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ jobs:
109109
110110 - run : |
111111 cp PocketDDD.BlazorClient/PocketDDD.BlazorClient/wwwroot/appsettings.${{ inputs.env }}.json PocketDDD.BlazorClient/PocketDDD.BlazorClient/wwwroot/appsettings.Production.json
112+ if: ${{ inputs.env != 'Production' }}
112113
113114 - run : |
114115 apiToken=$(az staticwebapp secrets list --name pocketddd-${{ inputs.env }}-blazorclient --query "properties.apiKey" -o tsv)
Original file line number Diff line number Diff line change 1- name : Deploy Branch Push
1+ name : Deploy Main to Production
22on :
33 push :
44 branches :
55 - ' main'
6+ - ' fixProdDeployment'
67
78jobs :
8- deploy_to_test :
9+ deploy_to_production :
910 uses : ./.github/workflows/DeployEverything.yml
1011 with :
1112 env : " Production"
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ output "api_server_url" {
22 value = " https://${ azurerm_linux_web_app . api_server_web_app . default_hostname } /"
33}
44
5- # output "client_app_public_url" {
6- # value =
7- # }
5+ output "client_app_public_url" {
6+ value = " https:// ${ azurerm_static_web_app_custom_domain . custom_domain . domain_name } "
7+ }
Original file line number Diff line number Diff line change 1- env = " prod "
1+ env = " production "
22sql_db_sku = " Basic"
33sql_max_storage = " 2"
44api_app_service_sku = " B1"
You can’t perform that action at this time.
0 commit comments