Publish contract templates #129
Workflow file for this run
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 contract templates | |
on: | |
push: | |
branches: | |
- main | |
- fix_publish_contract_template | |
paths: | |
- "/contracts/template/**" | |
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_contracts_template.yml | |
name: DEV Selfcare Infra Release contracts template | |
if: ${{ inputs.env == 'dev' }} | |
secrets: inherit | |
with: | |
environment: dev | |
environment_short: d | |
agent: self-hosted | |
release_uat: | |
uses: ./.github/workflows/call_publish_contracts_template.yml | |
name: UAT Selfcare Infra Release contracts template | |
if: ${{ inputs.env == 'uat' }} | |
secrets: inherit | |
with: | |
environment: uat | |
environment_short: u | |
agent: self-hosted | |
release_prod: | |
uses: ./.github/workflows/call_publish_contracts_template.yml | |
name: PROD Selfcare Infra Release contracts template | |
if: ${{ inputs.env == 'prod' }} | |
secrets: inherit | |
with: | |
environment: prod | |
environment_short: p | |
agent: self-hosted |