-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (35 loc) · 1.01 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
name: bpc-deploy-cf
description: This is an action to deploy to Cloud Foundry
author: Martin Trautwein
inputs:
app-name:
description: 'Name of the application'
required: true
placement-zone:
description: 'where to place your app: [IPZ001/EPZ001/IPZ001/EPZ002]'
required: true
org-name:
description: 'Name of the Cloud Foundry organization wher the application will be deployed to'
required: true
space-name:
description: 'Name of the Cloud Foundry space wher the application will be deployed to'
required: true
app-instances:
description: 'Number of application instances that will be started'
required: false
default: '1'
outputs:
url: # id of output
description: 'The url where the deployed aplication can be accessed'
branding:
icon: 'cloud'
color: 'blue'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.app-name }}
- ${{ inputs.placement-zone }}
- ${{ inputs.org-name }}
- ${{ inputs.space-name }}
- ${{ inputs.app-instances }}