forked from idoberko2/dokku-deploy-github-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
33 lines (33 loc) · 970 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
30
31
32
33
name: "Dokku to Deploy"
author: "Tjerk Woudsma (forked from Ido Berkovich)"
description: "Deploy to a dokku instance using Github actions"
branding:
icon: "upload-cloud"
color: "green"
inputs:
ssh-private-key:
description: "The ssh private key to the dokku instance. WARNING: use a secret! Do not pass a plain text value!"
required: true
dokku-user:
description: "The user to use for ssh (Default: dokku)"
required: false
default: "dokku"
dokku-host:
description: "The dokku host to ssh into"
required: true
app-name:
description: "The dokku app name"
required: true
remote-branch:
description: "The branch to push on the remote repository (Default: master)"
required: false
default: "master"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.ssh-private-key }}
- ${{ inputs.dokku-user }}
- ${{ inputs.dokku-host }}
- ${{ inputs.app-name }}
- ${{ inputs.remote-branch }}