Skip to content

Update file(s) "/." from "groupdocs-annotation/GroupDocs.Annotation-R… #2

Update file(s) "/." from "groupdocs-annotation/GroupDocs.Annotation-R…

Update file(s) "/." from "groupdocs-annotation/GroupDocs.Annotation-R… #2

name: Deploy Annotation
# Deploys the annotation product family. Push to `production` -> production,
# push to `main` -> staging. Manual runs choose the environment.
on:
push:
branches: [ production, main ]
paths:
- 'content/sites/groupdocs/annotation/**'
workflow_dispatch:
inputs:
environment:
description: 'Target environment'
required: true
default: production
type: choice
options:
- staging
- production
jobs:
deploy:
uses: ./.github/workflows/deploy_product.yml
with:
product_family: annotation
environment: ${{ github.event_name == 'workflow_dispatch' && inputs.environment || (github.ref_name == 'production' && 'production' || 'staging') }}
secrets: inherit