forked from BramKelchtermans/portainer-deploy-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (34 loc) · 914 Bytes
/
action.yml
File metadata and controls
37 lines (34 loc) · 914 Bytes
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
name: Deploy to Portainer
description: Deploys Docker Compose files to a Portainer instance.
author: Your Name
branding:
icon: upload-cloud
color: blue
inputs:
portainer_url:
description: 'The URL of the Portainer instance'
required: true
default: ''
portainer_api_key:
description: 'The API key for Portainer authentication'
required: true
default: ''
changed_files_path:
description: 'Path to the file containing changed Docker Compose files'
required: true
default: ''
environment_file:
description: 'The environment file to use for the deployment'
required: false
default: 'default'
outputs:
status:
description: 'Status of the deployment'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.portainer_url }}
- ${{ inputs.portainer_api_key }}
- ${{ inputs.changed_files_path }}
- ${{ inputs.environment_file }}