-
Notifications
You must be signed in to change notification settings - Fork 4
/
cloudbuild.yaml
31 lines (31 loc) · 1.28 KB
/
cloudbuild.yaml
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
steps:
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" != "master" ]] && gsutil cp index.html swagger.yml "gs://developer.kivra.com/$BRANCH_NAME/" || echo "skipping . . ."'
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" != "master" ]] && gsutil cp -r receipt "gs://developer.kivra.com/$BRANCH_NAME/" || echo "skipping . . ."'
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" != "master" ]] && gsutil cp -r assets "gs://developer.kivra.com/$BRANCH_NAME/" || echo "skipping . . ."'
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" == "master" ]] && gsutil cp index.html swagger.yml "gs://developer.kivra.com/" || echo "skipping . . ."'
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" == "master" ]] && gsutil cp -r receipt "gs://developer.kivra.com/" || echo "skipping . . ."'
- name: "gcr.io/cloud-builders/gsutil"
entrypoint: "bash"
args:
- "-c"
- '[[ "$BRANCH_NAME" == "master" ]] && gsutil cp -r assets "gs://developer.kivra.com/" || echo "skipping . . ."'