Fix family page 'Browse API reference' links to include product path … #3
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 Search | |
| # Deploys the search product family. Push to `production` -> production, | |
| # push to `main` -> staging. Manual runs choose the environment. | |
| on: | |
| push: | |
| branches: [ production, main ] | |
| paths: | |
| - 'content/sites/groupdocs/search/**' | |
| 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: search | |
| environment: ${{ github.event_name == 'workflow_dispatch' && inputs.environment || (github.ref_name == 'production' && 'production' || 'staging') }} | |
| secrets: inherit |