Skip to content

Paso 5

Paso 5 #3

name: Deploy to Azure
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build and deploy Container App
uses: azure/container-apps-deploy-action@v1
with:
appSourcePath: ${{ github.workspace }}
acrName: ${{ vars.AZURE_PREFIX }}acr
resourceGroup: ${{ vars.AZURE_RG }}
containerAppName: ${{ vars.AZURE_PREFIX }}containerapp
containerAppEnvironment: ${{ vars.AZURE_PREFIX }}containerappenvironment