-
Notifications
You must be signed in to change notification settings - Fork 87
32 lines (30 loc) · 850 Bytes
/
preview.yml
File metadata and controls
32 lines (30 loc) · 850 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: Preview
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
dev-deploy-preview:
strategy:
matrix:
environment:
[
{
name: development,
bucket: "dev-design.va.gov/${{ github.event.number }}",
config: dev.yml,
},
]
uses: ./.github/workflows/deploy-reusable.yml
with:
github-sha: ${{ github.sha }}
github-run-id: ${{ github.run_id }}
github-event-number: ${{ github.event.number }}
matrix-name: ${{ matrix.environment.name }}
matrix-bucket: ${{ matrix.environment.bucket }}
matrix-config: ${{ matrix.environment.config }}
secrets:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}