diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ec4aa4..67b1c74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,3 +33,17 @@ jobs: file: Dockerfile build-args: | DATABASE_URL=your_database_url + + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + + - name: Redeploy Azure Container App + run: | + az containerapp revision copy \ + --name your-container-app-name \ + --resource-group your-resource-group \ + --cpu 0.5 \ + --memory 1.0 \ + --image ${{ secrets.AZURE_URL }}/your-image:${{ github.ref }}