Skip to content

Deleted test mp4

Deleted test mp4 #12

name: Trigger auto deployment for my-app
# When this action will be executed
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- '**'
- '.github/workflows/my-app-AutoDeployTrigger-66885b75-f630-40a8-8d85-677bfc192af3.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.MYAPP_AZURE_CREDENTIALS }}
- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
appSourcePath: ${{ github.workspace }}
registryUrl: quickstartmr.azurecr.io
registryUsername: ${{ secrets.MYAPP_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.MYAPP_REGISTRY_PASSWORD }}
containerAppName: my-app
resourceGroup: jobs-quickstart
imageToBuild: quickstartmr.azurecr.io/my-app:${{ github.sha }}