Skip to content

Update file(s) "/." from "groupdocs-watermark/Groupdocs.Watermark-Ref… #16

Update file(s) "/." from "groupdocs-watermark/Groupdocs.Watermark-Ref…

Update file(s) "/." from "groupdocs-watermark/Groupdocs.Watermark-Ref… #16

name: Deploy Watermark
# Deploys the watermark product family. Push to `production` -> production,
# push to `main` -> staging. Manual runs choose the environment.
on:
push:
branches: [ production, main ]
paths:
- 'content/sites/groupdocs/watermark/**'
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: watermark
environment: ${{ github.event_name == 'workflow_dispatch' && inputs.environment || (github.ref_name == 'production' && 'production' || 'staging') }}
secrets: inherit