-
Notifications
You must be signed in to change notification settings - Fork 2
/
bitbucket-pipelines.yml
49 lines (42 loc) · 1019 Bytes
/
bitbucket-pipelines.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
# This is a sample build configuration for JavaScript.
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:latest
#options:
# docker: true
dock: &dock
services:
- docker
caches:
- docker
pipelines:
branches:
qa-build/*:
- step:
caches:
- node
script:
- yarn install
- yarn build
- yarn qa-deploy
custom: # Pipelines that are triggered manually
build:
- step:
caches:
- node
script:
- yarn install
- yarn build
deploy:
- step:
script:
- yarn install
- yarn build
- yarn deploy
docker-deploy:
- step:
<<: *dock
script:
./dock build