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

Commit

Permalink
Update web-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rlawhddbs authored Aug 26, 2024
1 parent 8effa7b commit 4a7d424
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4a7d424

Please sign in to comment.