Skip to content

Commit

Permalink
plt-656 add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oluwolenpbc authored and oluwolenpbc committed Sep 26, 2024
1 parent 475607b commit b74532e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: release

on:
workflow_dispatch:
inputs:
environment:
required: true
type: choice
options:
- dev
- sandbox
- prod
- prod-test
module:
required: true
type: choice
options:
- api
- worker

jobs:
release:
runs-on: self-hosted

steps:
- name: Call build workflow
uses: ./.github/workflows/build.yml
with:
environment: ${{ inputs.environment }}
module: ${{ inputs.module }}

- name: Call promote workflow
uses: ./.github/workflows/promote.yml
with:
environment: ${{ inputs.environment }}
module: ${{ inputs.module }}

0 comments on commit b74532e

Please sign in to comment.