-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (37 loc) · 1 KB
/
build_and_deploy.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
name: Build and deploy
on:
push:
branches-ignore:
- develop
- master
- hotfix/**
- feature/**-i18n
- release/**
jobs:
call_build:
uses: ./.github/workflows/build.yml
call_unit_test:
uses: ./.github/workflows/unit_test.yml
needs: call_build
call_misc_tests:
uses: ./.github/workflows/miscellaneous_tests.yml
call_format_branch_name:
uses: ./.github/workflows/format_branch_name.yml
call_acceptance:
uses: ./.github/workflows/acceptance.yml
needs: call_build
call_deploy:
needs:
- call_unit_test
- call_format_branch_name
- call_acceptance
- call_misc_tests
uses: ./.github/workflows/deploy.yml
with:
directory: dev/${{ needs.call_format_branch_name.outputs.formatted_branch }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
concurrency:
group: ci-build-and-deploy-${{ github.ref }}-1
cancel-in-progress: true