forked from MODA-NYC/db-safegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (38 loc) · 1.55 KB
/
weekly.yml
File metadata and controls
49 lines (38 loc) · 1.55 KB
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
46
47
48
49
name: Update weekly tables
on:
repository_dispatch:
types: [weekly]
schedule:
- cron: 0 1 * * 1
jobs:
Weekly:
runs-on: ubuntu-latest
env:
RDP_S3_ENDPOINT: https://s3.amazonaws.com
RDP_ACCESS_KEY_ID: ${{ secrets.RDP_ACCESS_KEY_ID }}
RDP_SECRET_ACCESS_KEY: ${{ secrets.RDP_SECRET_ACCESS_KEY }}
AWS_REGION_NAME: ${{ secrets.AWS_REGION_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v2
- name: install dependencies ...
run: pip3 install -r requirements.txt
- name: Update weekly_county_trips ...
run: ./sg run --name weekly_county_trips
- name: Update weekly_state_trips ...
run: ./sg run --name weekly_state_trips
- name: Update weekly_nyc_poivisits ...
run: ./sg run --name weekly_nyc_poivisits
- name: Update weekly_home_panel_summary ...
run: ./sg run --name weekly_home_panel_summary
- name: Update neighborhood patterns NYS ...
run: ./sg run --name np_ny_202107
- name: Update weekly patterns NYS ...
run: ./sg run --name wp_ny_202107
- name: Run OMB origin/destination query ...
run: ./sg run --name omb_origin_destination
- name: Run OMB query and unpack hours to 1500 columns ...
run: ./sg run --name omb_unpacking_safegraph
- name: Run NYC points of interests (for everyone but under parks) ...
run: ./sg run --name nyc_poi_weekly