Redesign product family pages; add verified getting-started and Popul… #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Redaction | |
| # Deploys the redaction product family. Push to `production` -> production, | |
| # push to `main` -> staging. Manual runs choose the environment. | |
| on: | |
| push: | |
| branches: [ production, main ] | |
| paths: | |
| - 'content/sites/groupdocs/redaction/**' | |
| 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: redaction | |
| environment: ${{ github.event_name == 'workflow_dispatch' && inputs.environment || (github.ref_name == 'production' && 'production' || 'staging') }} | |
| secrets: inherit |