-
Notifications
You must be signed in to change notification settings - Fork 16
60 lines (58 loc) · 1.79 KB
/
manual-aws-deploy.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: "Deploy AWS"
on:
workflow_dispatch:
inputs:
prefix:
description: "Prefix for the deployment"
required: false
default: "armonik-cicd"
bootstrap:
description: "Deploy the S3 for the tfstate"
type: boolean
required: false
default: true
core-version:
description: "Version of core to deploy"
required: false
default: ""
gui-version:
description: "Version of gui to deploy"
required: false
default: ""
ext-csharp-version:
description: "Version of Extension Csharp to deploy"
required: false
default: ""
jobs:
deploy:
name: "Deploy"
runs-on: ubuntu-latest
outputs:
terraform-output: ${{ steps.deploy.outputs.terraform-output }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install Dependencies
uses: aneoconsulting/ArmoniK.Action.Deploy/dependencies@main
with:
aws: true
terraform: true
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-west-3
- if: ${{ inputs.bootstrap }}
id: bootstrap-deploy
name: Deploy Bootstrap
uses: aneoconsulting/ArmoniK.Action.Deploy/bootstrap-deploy@main
with:
type: aws
prefix: ${{ inputs.prefix }}
- id: deploy
name: Deploy
uses: aneoconsulting/ArmoniK.Action.Deploy/deploy@main
with:
type: aws
prefix: ${{ inputs.prefix }}
core-version: ${{ inputs.core-version }}
gui-version: ${{ inputs.gui-version }}
ext-csharp-version: ${{ inputs.ext-csharp-version }}