-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (27 loc) · 960 Bytes
/
on_pr.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
# Based on https://docs.github.com/en/actions/deployment/deploying-to-your-cloud-provider/deploying-to-amazon-elastic-container-service
name: PR Updated triggers
on:
pull_request:
types:
- opened
- synchronize
env:
AWS_REGION: us-east-1
jobs:
ci:
uses: ./.github/workflows/ci.yml
build-all:
uses: ./.github/workflows/ecrbuild-all.yml
secrets:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
e2e:
needs:
- build-all
# could theoretically be skipped, but in practice is always faster
# than waiting for the build-all job to finish anyway
- ci
uses: ./.github/workflows/e2e.yml
secrets:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}