From 4a7d424ef9ee30e4b8c7ef7a183d9698294f4eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A2=85=EC=9C=A4?= <103932812+rlawhddbs@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:51:44 +0900 Subject: [PATCH] Update web-deploy.yml --- .github/workflows/web-deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index bc0fef9..50c3cd5 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -30,15 +30,15 @@ jobs: - name: Build and deploy Container App uses: azure/container-apps-deploy-action@v0 with: - appSourcePath: ${{ github.workspace }}/$APP_NAME - acrName: $TEAM_NAME + appSourcePath: ${{ github.workspace }}/${{ env.APP_NAME }} + acrName: ${{ env.TEAM_NAME }} acrUsername: ${{ secrets.ACR_USERNAME }} acrPassword: ${{ secrets.ACR_PASSWORD }} - containerAppName: $APP_NAME - containerAppEnvironment: $APP_ENV - resourceGroup: $RG_NAME - imageToBuild: $TEAM_NAME.azurecr.io/$APP_NAME:${{ github.sha }} + containerAppName: ${{ env.APP_NAME }} + containerAppEnvironment: ${{ env.APP_ENV }} + resourceGroup: ${{ env.RG_NAME }} + imageToBuild: ${{ env.TEAM_NAME }}.azurecr.io/${{ env.APP_NAME }}:${{ github.sha }} dockerfilePath: Dockerfile - name: Azure Container Apps Ingress Setting - run: az containerapp ingress update --name $APP_NAME --resource-group $RG_NAME --target-port 3000 --allow-insecure + run: az containerapp ingress update --name ${{ env.APP_NAME }} --resource-group ${{ env.RG_NAME }} --target-port 3000 --allow-insecure