-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.yml
49 lines (40 loc) · 1019 Bytes
/
ci.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
---
name: CI - Deploy Staging
on:
pull_request:
branches:
- master
jobs:
deploy:
name: Deploy Staging
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v1
- name: Config Access to AWS
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: ap-southeast-1
- name: Lint
run: |
make lint
- name: Unit/Integration Tests & Coverage
run: |
make test-integration
- name: Pull configs
run: |
make pull-config-staging
- name: Build Zip file
run: |
make build
- name: Push Zip file to s3
run: |
make push
- name: Create Benstalk Application Version
run: |
make create-application-version
- name: Deploy
run: |
make deploy