Skip to content

Update index.html

Update index.html #2

name: Trigger auto deployment for sk-container-app
# When this action will be executed
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- '**'
- '.github/workflows/sk-container-app-AutoDeployTrigger-b566ba3d-0a1d-46d7-a604-9b86c0137fa1.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.SKCONTAINERAPP_AZURE_CREDENTIALS }}
- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
appSourcePath: ${{ github.workspace }}
registryUrl: skacaregistry.azurecr.io
registryUsername: ${{ secrets.SKCONTAINERAPP_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.SKCONTAINERAPP_REGISTRY_PASSWORD }}
containerAppName: sk-container-app
resourceGroup: rg-dev-ACA-sk
imageToBuild: skacaregistry.azurecr.io/sk-container-app:${{ github.sha }}