-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
43 lines (43 loc) · 1.09 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
39
40
41
42
43
name: 'Laravel deployer'
author: bixlabs
description: 'Github action for deploy laravel'
branding:
color: green
icon: cloud
inputs:
deploy_dir:
description: Path where the deployments will happens
required: true
default: '/var/www/laravel_deploy'
source_dir:
description: path to be deployed
required: true
default: './'
deploy_host:
description: ip or hostname of the deployment target
required: true
deploy_key:
description: SSH private key of the deployment target
required: true
deploy_username:
description: SSH username of the deployment target
required: true
post_deploy:
description: Allow execute commands after deploy
required: false
default: 'echo "post_deploy"'
outputs:
deploy_version:
description: Version deployed
deploy_path:
description: Full path of the latest deploy
runs:
using: docker
image: 'Dockerfile'
args:
- ${{ inputs.deploy_dir }}
- ${{ inputs.source_dir }}
- ${{ inputs.deploy_host }}
- ${{ inputs.deploy_username }}
- ${{ inputs.post_deploy }}
- ${{ inputs.deploy_key }}