-
Notifications
You must be signed in to change notification settings - Fork 3
/
buddy.yml
56 lines (56 loc) · 1.85 KB
/
buddy.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
48
49
50
51
52
53
54
55
56
- pipeline: "Deploy to Staging"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "develop"
ref_type: "BRANCH"
target_site_url: "https://staging2.idfive.com/iowa-state-university/"
actions:
- action: "Execute: npm install"
type: "BUILD"
working_directory: "/buddy/idfive-component-library"
docker_image_name: "library/node"
docker_image_tag: "10"
execute_commands:
- "npm install"
mount_filesystem_path: "/buddy/idfive-component-library"
trigger_condition_paths:
- "package.json"
- "package-lock.json"
shell: "BASH"
trigger_condition: "ON_CHANGE_AT_PATH"
- action: "Execute: npm run build"
type: "BUILD"
working_directory: "/buddy/idfive-component-library"
docker_image_name: "library/node"
docker_image_tag: "10"
execute_commands:
- "npm run build"
mount_filesystem_path: "/buddy/idfive-component-library"
trigger_condition_paths:
- "/src/"
shell: "BASH"
trigger_condition: "ON_CHANGE_AT_PATH"
- action: "Execute: npm run fractal:build"
type: "BUILD"
working_directory: "/buddy/idfive-component-library"
docker_image_name: "library/node"
docker_image_tag: "10"
execute_commands:
- "npm run fractal:build"
mount_filesystem_path: "/buddy/idfive-component-library"
trigger_condition_paths:
- "/src/"
shell: "BASH"
trigger_condition: "ON_CHANGE_AT_PATH"
- action: "Upload files to staging2 (Bruce)"
type: "SFTP"
input_type: "BUILD_ARTIFACTS"
local_path: "/"
remote_path: "/var/www/staging2.idfive.com/public_html/iowa-state-university"
login: "idfive"
host: "142.93.75.126"
port: "22"
env_key: "id_project"
authentication_mode: "ENV_KEY"
deployment_excludes:
- "node_modules/"
- "/src/"