-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (36 loc) · 1.28 KB
/
changesets-gateway.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Changesets - Gateway
on:
workflow_call:
inputs:
packages:
type: string
required: true
jobs:
release-cms:
if: ${{ fromJson(inputs.packages).cms != null }}
name: Release CMS (${{ fromJson(inputs.packages).cms.version }})
uses: ./.github/workflows/build-push-deploy-cms.yml
secrets: inherit
with:
version: ${{ fromJson(inputs.packages).cms.version }}
release-web:
if: ${{ fromJson(inputs.packages).web != null }}
name: Release Web (${{ fromJson(inputs.packages).web.version }})
uses: ./.github/workflows/build-push-deploy-web.yml
secrets: inherit
with:
version: ${{ fromJson(inputs.packages).web.version }}
release-docs:
if: ${{ fromJson(inputs.packages).docs != null }}
name: Release Docs (${{ fromJson(inputs.packages).docs.version }})
uses: ./.github/workflows/build-push-deploy-docs.yml
secrets: inherit
with:
version: ${{ fromJson(inputs.packages).docs.version }}
release-docs-beta:
if: ${{ fromJson(inputs.packages).docs-beta != null }}
name: Release Docs-Beta (${{ fromJson(inputs.packages).docs-beta.version }})
uses: ./.github/workflows/build-push-deploy-docs-beta.yml
secrets: inherit
with:
version: ${{ fromJson(inputs.packages).docs-beta.version }}