generated from snow-actions/composite-action-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
29 lines (29 loc) · 833 Bytes
/
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
name: Deploy Serverless Framework
description: Deploy Serverless Framework
inputs:
role-to-assume:
description: Role ARN as same as aws-actions/configure-aws-credentials
required: true
aws-region:
description: Region as same as aws-actions/configure-aws-credentials
required: true
args:
description: serverless command args
required: false
default: deploy --verbose
working-directory:
description: Working directory
required: false
default: .
branding:
icon: upload-cloud
color: orange
runs:
using: composite
steps:
- uses: snow-actions/serverless-deploy/aws/[email protected]
with:
role-to-assume: ${{ inputs.role-to-assume }}
aws-region: ${{ inputs.aws-region }}
args: ${{ inputs.args }}
working-directory: ${{ inputs.working-directory }}