forked from charliex2/laravel-deploy-x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (45 loc) · 1.24 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
44
45
46
47
name: 'Laravel Deploy X'
description: 'Deploy Laravel Application to Server via SSH by RSync'
author: 'MJA'
branding:
icon: 'send'
color: 'green'
inputs:
user:
description: 'Deploy user'
required: true
host:
description: 'Deploy host'
required: true
port:
description: 'Deploy port'
required: false
path:
description: 'Path on server'
required: true
sourcePath:
description: 'Path source in project if not the hole project should be deployd (i.e. vue-projects)'
required: true
default: '.'
owner:
description: 'Deploy owner'
required: true
useArtisan:
description: 'Disables the artisan migrate and cache-cleaing commands if set to "0"'
required: false
default: '1'
commands:
description: 'Command to run after default artisan commands'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.user }}
- ${{ inputs.host }}
- ${{ inputs.port }}
- ${{ inputs.path }}
- ${{ inputs.sourcePath }}
- ${{ inputs.owner }}
- ${{ inputs.useArtisan }}
- ${{ inputs.commands }}