-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitbucket-pipelines.yml
48 lines (48 loc) · 1.33 KB
/
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
image: atlassian/default-image:2
clone:
depth: full
pipelines:
branches:
master:
- step:
name: Test
caches:
- maven
- node
script:
- mvn dependency:go-offline
- mvn integration-test
- npm run webpack:prod
- step:
name: Deploy to Heroku - Production
deployment: production
script:
- git push https://heroku:[email protected]/$HEROKU_APP_NAME.git HEAD:master
staging:
- step:
name: Test
caches:
- maven
- node
script:
- mvn dependency:go-offline
- mvn integration-test
- step:
name: Deploy to Heroku - Staging
deployment: staging
script:
- git push https://heroku:[email protected]/$HEROKU_APP_NAME.git HEAD:master
dev:
- step:
name: Test
caches:
- maven
- node
script:
- mvn dependency:go-offline
- mvn integration-test
- step:
name: Deploy to Heroku - Dev
deployment: test
script:
- git push https://heroku:[email protected]/$HEROKU_APP_NAME.git HEAD:master