-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathaction.yml
38 lines (38 loc) · 1.14 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
name: 'Rollbar deploy'
description: 'Notify to Rollbar about a deploy'
branding:
icon: 'package'
color: 'blue'
inputs:
environment: # required
description: 'Environment where your code is running. e.g. production'
required: true
version: # required
description: 'Version deployed'
required: true
status: # optional
description: 'Deploy status'
required: false
default: 'succeeded'
source_maps: # optional. You can use upload-artifact and download-artifact actions.
description: 'JavaScript source map files, e.g, bundle.js.map as a Github Artifact.'
required: false
minified_urls: # optional.
description: 'URLs to your minified files without schema'
required: false
local_username: # optional.
description: 'Name of the deploying user (used if ROLLBAR_USERNAME is not set)'
required: false
outputs:
deploy_id:
description: 'The id of the deploy'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.environment }}
- ${{ inputs.version }}
- ${{ inputs.status }}
- ${{ inputs.source_maps }}
- ${{ inputs.minified_urls }}
- ${{ inputs.local_username }}