azure-saas/.github/workflows/pr-deploy-saas-catalog.yml

24 строки
790 B
YAML

# Builds any PR with target branch of "main". Creates app service slot with PR number and deploys built code
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
paths:
- "src/Saas.Catalog/**"
- ".github/**"
name: Saas.Catalog.API PR Build
jobs:
build-and-deploy:
# Utilizes re-usable template to build and deploy to app service slot
uses: Azure/azure-saas/.github/workflows/template-pr-deploy.yml@main
with:
dotnet_version: '6.0.x'
artifact_name: ${{ github.run_id }}
app_service_name: api-onboarding-asdk-dev-001
app_service_resource_group_name: azure-saas-dev
project_build_path: src/Saas.Catalog/Saas.Catalog.Api
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}