Skip to content

Commit

Permalink
Fix indentation in CD workflow for improved readability and consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tsviz committed Sep 27, 2024
1 parent 736deaa commit 4caed27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:

- name: Deploy the Azure App - Including DB Migrations [PRODUCTION ENVIRONMENT]
run: az vm run-command invoke --resource-group $RESOURCE_GROUP --name $VM_NAME --command-id RunShellScript --scripts "
export SA_PASSWORD='${{ secrets.SA_PASSWORD }}'
export ConnectionStrings__RazorPagesMovieContext='${{ secrets.DB_URL }}'
export ASPNETCORE_URLS='${{ secrets.ASPNETCORE_URLS }}'
export TAG='${{ inputs.image_tag }}'
docker compose pull webapp
docker compose up -d --no-deps --build webapp
export SA_PASSWORD='${{ secrets.SA_PASSWORD }}'
export ConnectionStrings__RazorPagesMovieContext='${{ secrets.DB_URL }}'
export ASPNETCORE_URLS='${{ secrets.ASPNETCORE_URLS }}'
export TAG='${{ inputs.image_tag }}'

docker compose pull webapp
docker compose up -d --no-deps --build webapp
"

0 comments on commit 4caed27

Please sign in to comment.