-
Notifications
You must be signed in to change notification settings - Fork 62
62 lines (57 loc) · 1.72 KB
/
CD.yml
File metadata and controls
62 lines (57 loc) · 1.72 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: CD
on:
# Trigger the workflow manually with the `workflow_dispatch` event
workflow_dispatch:
inputs:
major:
description: Year # The year of the release, e.g., 24 for 2024
type: number
required: true
default: '25'
minor:
description: Release # The minor version of the release, e.g., 4 for the fourth release of the year
type: number
required: true
default: '1'
build:
description: Beta # The build number, typically used for beta versions
type: number
required: true
default: '0'
revision:
description: Alpha # The revision number, typically used for alpha versions
type: number
required: true
default: '0'
SSLCert:
description: "Add Certificate" # Option to add an SSL certificate
type: choice
required: true
default: 'No'
options:
- 'Yes' # Add SSL certificate
- 'No' # Do not add SSL certificate
jobs:
Builder:
name: Build Solution
uses: ./.github/workflows/Build.yml
secrets: inherit
Ginger_Unit-Test:
name: Execute Unit Tests
needs: Builder
uses: ./.github/workflows/Test.yml
secrets: inherit
Release:
name: Release
needs: Ginger_Unit-Test
uses: ./.github/workflows/Release.yml
secrets: inherit
Deploy:
name: Deploy
needs: Release
uses: ./.github/workflows/Deploy.yml
Docker:
name: Docker
needs: Ginger_Unit-Test
uses: ./.github/workflows/Docker.yml
secrets: inherit