forked from idoberko2/dokku-deploy-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 1.19 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: "Dokku Deploy action 2"
author: "Ido Berkovich"
description: "Deploy to a dokku instance using Github actions - removing remote after process allowing for multiple deploy targets in one go"
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"
git-push-flags:
description: "Additional flags to be passed to the git push command. Could be used to force push"
required: false
default: ""
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.ssh-private-key }}
- ${{ inputs.dokku-user }}
- ${{ inputs.dokku-host }}
- ${{ inputs.app-name }}
- ${{ inputs.remote-branch }}
- ${{ inputs.git-push-flags }}