Skip to content

mods to file cap

mods to file cap #37

name: Trigger auto deployment for deezer5
# When this action will be executed
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- '**'
- '.github/workflows/deezer5-AutoDeployTrigger-d8745bcf-a0b2-4a0d-b114-8739e04c5fca.yml'
# Allow manual trigger
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout to the branch
uses: actions/checkout@v2
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.DEEZER5_AZURE_CREDENTIALS }}
- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
appSourcePath: ${{ github.workspace }}
registryUrl: containregis2.azurecr.io
registryUsername: ${{ secrets.DEEZER5_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.DEEZER5_REGISTRY_PASSWORD }}
containerAppName: deezer5
resourceGroup: myResourceGroup
imageToBuild: containregis2.azurecr.io/my-python-app:${{ github.sha }}