fix deploy commands
This commit is contained in:
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@@ -60,17 +60,11 @@ jobs:
|
|||||||
az containerapp update \
|
az containerapp update \
|
||||||
--name ${{ secrets.AZURE_BACKEND_APP_NAME }} \
|
--name ${{ secrets.AZURE_BACKEND_APP_NAME }} \
|
||||||
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
||||||
--image ${{ env.BACKEND_IMAGE }}:latest \
|
--image ${{ env.BACKEND_IMAGE }}:latest
|
||||||
--registry-server ${{ env.REGISTRY }} \
|
|
||||||
--registry-username ${{ github.actor }} \
|
|
||||||
--registry-password ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Deploy frontend
|
- name: Deploy frontend
|
||||||
run: |
|
run: |
|
||||||
az containerapp update \
|
az containerapp update \
|
||||||
--name ${{ secrets.AZURE_FRONTEND_APP_NAME }} \
|
--name ${{ secrets.AZURE_FRONTEND_APP_NAME }} \
|
||||||
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
|
||||||
--image ${{ env.FRONTEND_IMAGE }}:latest \
|
--image ${{ env.FRONTEND_IMAGE }}:latest
|
||||||
--registry-server ${{ env.REGISTRY }} \
|
|
||||||
--registry-username ${{ github.actor }} \
|
|
||||||
--registry-password ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user