Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
using simple quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Soruk committed Feb 11, 2023
1 parent 808ec76 commit e2af34d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/template-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
with:
azPSVersion: "3.1.0"
inlineScript: |
$deploymentName = "ghactionbgtasks${{ github.sha }}"
$resourceGroupName = "${{ secrets.AZURE_RESOURCE_GROUP_NAME }}"
$acrName = "${{ secrets.ACR_NAME }}"
$deploymentName = "ghactionbgtasks${{ github.sha }}'
$resourceGroupName = '${{ secrets.AZURE_RESOURCE_GROUP_NAME }}'
$acrName = '${{ secrets.ACR_NAME }}'
az deployment group create -n "$($deploymentName)" `
--resource-group "$($resourceGroupName)" `
Expand Down Expand Up @@ -58,18 +58,18 @@ jobs:
azPSVersion: "3.1.0"
failOnStandardError: true
inlineScript: |
$deploymentName = "ghaction${{ github.sha }}"
$resourceGroupName = "${{ secrets.AZURE_RESOURCE_GROUP_NAME }}"
$acrName = "${{ secrets.ACR_NAME }}"
$imageTag = "${{ github.sha }}"
$administratorLogin = "${{ secrets.PODCASTDB_USER_LOGIN }}"
$administratorLoginPassword = "${{ secrets.PODCASTDB_USER_PASSWORD }}"
$storageAccountName = "${{ secrets.STORAGE_NAME }}"
$serverName= "${{ secrets.PODCASTDB_SERVER_NAME }}"
$kubernetesEnvName = "${{ secrets.KUBERNETES_ENV_NAME }}"
$workspaceName = "${{ secrets.WORKSPACE_NAME }}"
$apiName = "${{ secrets.API_RESOURCE_NAME }}"
$updaterName = "${{ secrets.UPDATER_RESOURCE_NAME }}"
$deploymentName = 'ghaction${{ github.sha }}'
$resourceGroupName = '${{ secrets.AZURE_RESOURCE_GROUP_NAME }}'
$acrName = '${{ secrets.ACR_NAME }}'
$imageTag = '${{ github.sha }}'
$administratorLogin = '${{ secrets.PODCASTDB_USER_LOGIN }}'
$administratorLoginPassword = '${{ secrets.PODCASTDB_USER_PASSWORD }}'
$storageAccountName = '${{ secrets.STORAGE_NAME }}'
$serverName= '${{ secrets.PODCASTDB_SERVER_NAME }}'
$kubernetesEnvName = '${{ secrets.KUBERNETES_ENV_NAME }}'
$workspaceName = '${{ secrets.WORKSPACE_NAME }}'
$apiName = '${{ secrets.API_RESOURCE_NAME }}'
$updaterName = '${{ secrets.UPDATER_RESOURCE_NAME }}'
az deployment group create -n "$($deploymentName)" `
--resource-group "$($resourceGroupName)" `
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/template-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
with:
azPSVersion: "3.1.0"
inlineScript: |
$deploymentName = "ghactionlistentogether${{ github.sha }}"
$resourceGroupName = "${{ secrets.AZURE_RESOURCE_GROUP_NAME }}"
$webAppName = "${{ secrets.HUB_WEBAPP_NAME}}"
$servicePlanName = "${{ secrets.SERVICE_PLAN_NAME }}"
$storageAccountName = "${{ secrets.STORAGE_NAME }}"
$administratorLogin = "${{ secrets.PODCASTDB_USER_LOGIN }}"
$administratorLoginPassword = "${{ secrets.PODCASTDB_USER_PASSWORD }}"
$serverName = "${{ secrets.PODCASTDB_SERVER_NAME }}"
$apiName = "${{ secrets.API_RESOURCE_NAME }}""
$deploymentName = 'ghactionlistentogether${{ github.sha }}'
$resourceGroupName = '${{ secrets.AZURE_RESOURCE_GROUP_NAME }}'
$webAppName = '${{ secrets.HUB_WEBAPP_NAME}}"
$servicePlanName = '${{ secrets.SERVICE_PLAN_NAME }}'
$storageAccountName = '${{ secrets.STORAGE_NAME }}'
$administratorLogin = '${{ secrets.PODCASTDB_USER_LOGIN }}'
$administratorLoginPassword = '${{ secrets.PODCASTDB_USER_PASSWORD }}'
$serverName = '${{ secrets.PODCASTDB_SERVER_NAME }}'
$apiName = '${{ secrets.API_RESOURCE_NAME }}'"
az deployment group create -n "$($deploymentName)" `
--resource-group "$($resourceGroupName)" `
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/template-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ jobs:
with:
azPSVersion: "3.1.0"
inlineScript: |
$deploymentName = "ghaction${{ github.sha }}"
$resourceGroupName = "${{ secrets.AZURE_RESOURCE_GROUP_NAME }}"
$webAppName = "${{ secrets.WEBAPP_NAME }}"
$servicePlanName = "${{ secrets.SERVICE_PLAN_NAME }}"
$servicePlanSku = "${{ secrets.SERVICE_PLAN_SKU }}"
$hubWebAppName = "${{ secrets.HUB_WEBAPP_NAME }}"
$deploymentName = 'ghaction${{ github.sha }}'
$resourceGroupName = '${{ secrets.AZURE_RESOURCE_GROUP_NAME }}'
$webAppName = '${{ secrets.WEBAPP_NAME }}'
$servicePlanName = '${{ secrets.SERVICE_PLAN_NAME }}'
$servicePlanSku = '${{ secrets.SERVICE_PLAN_SKU }}'
$hubWebAppName = '${{ secrets.HUB_WEBAPP_NAME }}'
$apiName = "${{secrets.API_RESOURCE_NAME}}""
az deployment group create -n "$($deploymentName)" `
Expand Down

0 comments on commit e2af34d

Please sign in to comment.