Skip to content

Commit

Permalink
Reto 5
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoBC2007 committed Aug 30, 2024
1 parent 79157a4 commit 3ee082a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit 3ee082a

Please sign in to comment.