-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
25 lines (23 loc) · 861 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
name: DigitalOcean App Platform deployment
description: Deploy application to DigitalOcean's App Platform or Update DOCR image in the DigitalOcean's App Platform.
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
app_name:
description: Name of the app. (The name of the app must be unique across all apps in the same account.)
required: true
token:
description: DigitalOcean Personal Access Token.(use https://docs.digitalocean.com/reference/api/create-personal-access-token/ for creating new token)
required: true
images:
description: (OPTIONAL)a json array of objects with the properties name (description), repository (repo url), tag (image tag)
required: false
default: ""
runs:
using: 'docker'
image: 'Dockerfile'
args:
- "${{ inputs.images }}"
- "${{ inputs.app_name }}"
- "${{ inputs.token }}"