forked from jelastic/jelastic-signup-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddon.jps
More file actions
24 lines (21 loc) · 644 Bytes
/
addon.jps
File metadata and controls
24 lines (21 loc) · 644 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
jpsType: update
logo: https://download.jelastic.com/public.php?service=files&t=3da2215839f82aa50d3d961271cd1cb9&download
name: Jelastic Widget Builder Addons
description: Jelastic Site Addons
onInstall:
- installAddon:
id: build-addon
nodeGroup: cp
addons:
- id: build-addon
buttons:
procedure: build-build
caption: Run build
logsPath: "/var/log/build-build.log"
successText: Build styles and scripts are launched.
actions:
build-build:
- cmd[cp]: |-
sudo su
cd /var/www/webroot/ROOT/ && gulp >> /var/log/build-scripts.log
chown nginx:nginx -R /var/www/webroot/ROOT/