forked from Experience-Monks/nextjs-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeship-steps.yml
38 lines (35 loc) · 846 Bytes
/
codeship-steps.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
- type: parallel
steps:
- name: lint
service: frontend-dev
command: sh .codeship/linters.sh
- name: develop
type: serial
tag: develop
steps:
- service: frontend-dev
name: artifact
command: sh .codeship/artifact.sh
- name: deployment
service: awsdeployment-dev
command: sh ./usr/src/app/.codeship/deploy.sh
- name: staging
type: serial
tag: staging
steps:
- name: build
service: frontend-stage
command: sh .codeship/artifact.sh
- name: deployment
service: awsdeployment-stage
command: sh ./usr/src/app/.codeship/deploy.sh
- name: production
type: serial
tag: '^(master|main)$'
steps:
- name: build
service: frontend-prod
command: sh .codeship/artifact.sh
- name: deployment
service: awsdeployment-prod
command: sh ./usr/src/app/.codeship/deploy.sh