-
Notifications
You must be signed in to change notification settings - Fork 11
32 lines (29 loc) · 866 Bytes
/
dev.yml
File metadata and controls
32 lines (29 loc) · 866 Bytes
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
name: Build and Deploy to Dev
on:
pull_request:
branches: [develop, main]
types: [opened, synchronize, reopened]
push:
branches: [develop, main]
concurrency:
group: deploy-dev-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run-tests:
uses: ./.github/workflows/run_tests.yml
run-e2e-tests:
uses: ./.github/workflows/e2e_tests.yml
build-dev-container:
uses: ./.github/workflows/build_docker.yml
secrets: inherit
deploy-dev-container:
needs:
- run-tests
- run-e2e-tests
- build-dev-container
uses: ./.github/workflows/deploy_docker.yml
secrets: inherit
with:
environment: Dev
server_image_tag: "${{ needs.build-dev-container.outputs.server_image_tag }}"
client_image_tag: "${{ needs.build-dev-container.outputs.client_image_tag }}"