Skip to content

Commit

Permalink
Add workflow to update production-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Feb 13, 2024
1 parent 13f0434 commit 77bb119
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/update-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Update Production'

on:
workflow_dispatch:
inputs:
release:
type: choice
description: "Type of Release: regular, patch or custom"
required: true
default: "regular"
options:
- regular
- patch
- custom
version:
type: string
description: "next version number, if Release is custom"
required: false

jobs:
prepare:
uses: ./.github/workflows/prepare-release.yml
with:
stage: production
release: ${{ inputs.release }}
version: ${{ inputs.version }}
secrets: inherit

build:
uses: ./.github/workflows/build-composition.yml
with:
stage: production
needs:
- prepare
secrets: inherit

0 comments on commit 77bb119

Please sign in to comment.