Publish product logo #1
This file contains 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: Publish product logo | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "/resources/products/**" | |
workflow_dispatch: | |
inputs: | |
env: | |
required: true | |
type: choice | |
description: 'Select the Environment' | |
default: 'dev' | |
options: | |
- dev | |
- uat | |
- prod | |
jobs: | |
release_dev: | |
uses: ./.github/workflows/call_publish_product_logo.yml | |
name: DEV Selfcare Infra Release product logo | |
if: ${{ inputs.env == 'dev' }} | |
secrets: inherit | |
with: | |
environment: dev | |
environment_short: d | |
agent: self-hosted | |
release_uat: | |
uses: ./.github/workflows/call_publish_product_logo.yml | |
name: UAT Selfcare Infra Release product logo | |
if: ${{ inputs.env == 'uat' }} | |
secrets: inherit | |
with: | |
environment: uat | |
environment_short: u | |
agent: self-hosted | |
release_prod: | |
uses: ./.github/workflows/call_publish_product_logo.yml | |
name: PROD Selfcare Infra Release product logo | |
if: ${{ inputs.env == 'prod' }} | |
secrets: inherit | |
with: | |
environment: prod | |
environment_short: p | |
agent: self-hosted |