Skip to content

Deploy @ in

Deploy @ in #1

Workflow file for this run

# reusable workflow triggered manually
name: deploy
run-name: Deploy ${{ inputs.channel}}@${{ inputs.revision}} in ${{ inputs.model }}
on:
push:
branches:
- "IAM-1233"
workflow_dispatch:
inputs:
model:
required: true
revision:
required: true
channel:
required: true
jobs:
ci-test-deploy:
uses: ./.github/workflows/_deploy.yaml
with:
model: k8s-dev
revision: 336
channel: latest/edge
secrets:
CLIENT_ID: ${{ secrets.JIMM_DEV_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.JIMM_DEV_CLIENT_SECRET }}
dev-deploy:
if: ${{ (inputs.model == 'k8s-dev') }}
uses: ./.github/workflows/_deploy.yaml
with:
model: ${{ inputs.model }}
revision: ${{ inputs.revision }}
channel: ${{ inputs.channel }}
secrets:
CLIENT_ID: ${{ secrets.JIMM_DEV_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.JIMM_DEV_CLIENT_SECRET }}
stg-deploy:
if: ${{ (inputs.model == 'k8s-stg') }}
uses: ./.github/workflows/_deploy.yaml
with:
model: ${{ inputs.model }}
revision: ${{ inputs.revision }}
channel: ${{ inputs.channel }}
secrets:
CLIENT_ID: ${{ secrets.JIMM_STG_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.JIMM_STG_CLIENT_SECRET }}