-
-
Notifications
You must be signed in to change notification settings - Fork 51
43 lines (41 loc) · 1.03 KB
/
deploy_data.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
name: "[Deploy] data.trezor.io"
permissions:
id-token: write
contents: read
on:
push:
branches:
- "master"
# configures the workflow to run only when the path of the data directory changes
paths:
- "data/**"
- "bootloader/**"
- "bridge/**"
- "firmware/**"
- "legal/**"
- "registry/**"
- "udev/**"
- "suite/**"
- "connect/**"
- "security/**"
- "transparency/**"
- "misc/**"
jobs:
deploy_data:
environment: production
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: "true"
- name: Setup python
uses: actions/setup-python@v5
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::538326561891:role/gh_actions_data_production_deploy
aws-region: eu-central-1
- name: Run release script
run: ./scripts/deploy-data.sh