-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
67 lines (64 loc) · 2.03 KB
/
action.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
61
62
63
64
65
66
67
name: 'Serverless-Devs Initialization Github Actions'
description: 'Install Serverless-Devs tool and configure the credentials'
inputs:
access:
description: 'Key pair alias, if the alias is not set, use default instead'
required: false
AccountID:
description: 'Configure the AccountID'
required: false
AccessKeyID:
description: 'Configure the AccessKeyID'
required: false
AccessKeySecret:
description: 'Configure the AccessKeySecret'
required: false
SecretID:
description: 'Configure the SecretID'
required: false
SecretKey:
description: 'Configure the SecretKey'
required: false
SecretAccessKey:
description: 'Configure the SecretAccessKey'
required: false
KeyVaultName:
description: 'Configure the KeyVaultName'
required: false
TenantID:
description: 'Configure the TenantID'
required: false
ClientID:
description: 'Configure the ClientID'
required: false
ClientSecret:
description: 'Configure the ClientSecret'
required: false
PrivateKeyData:
description: 'Configure the PrivateKeyData'
required: false
branding:
icon: 'cloud-lightning'
color: 'blue'
runs:
using: "composite"
steps:
- name: Install Serverless-Devs
run: npm install -g @serverless-devs/s
shell: bash
- name: Configure Serverless-Devs
run: ${{ github.action_path }}/dev/config.sh
shell: bash
env:
INPUT_ACCESS: ${{ inputs.access }}
INPUT_ACCOUNT_ID: ${{ inputs.AccountID }}
INPUT_ACCESS_KEY_ID: ${{ inputs.AccessKeyID }}
INPUT_ACCESS_KEY_SECRET: ${{ inputs.AccessKeySecret }}
INPUT_SECRET_ID: ${{ inputs.SecretID }}
INPUT_SECRET_KEY: ${{ inputs.SecretKey }}
INPUT_SECRET_ACCESS_KEY: ${{ inputs.SecretAccessKey }}
INPUT_KEY_VAULT_NAME: ${{ inputs.KeyVaultName }}
INPUT_TENANT_ID: ${{ inputs.TenantID }}
INPUT_CLIENT_ID: ${{ inputs.ClientID }}
INPUT_CLIENT_SECRET: ${{ inputs.ClientSecret }}
INPUT_PRIVATE_KEY_DATA: ${{ inputs.PrivateKeyData }}