-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.05 KB
/
Copy pathweekly.yml
File metadata and controls
41 lines (34 loc) · 1.05 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
name: Weekly Alpha Police Events (Dual Cloud)
on:
schedule:
# Wednesday 15:00 UTC (~10:00 ET standard time; shifts with DST)
- cron: "0 15 * * 3"
workflow_dispatch: {}
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pipeline
env:
# AWS
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_PREFIX: ${{ secrets.S3_PREFIX }}
# GCP
GCP_SA_JSON: ${{ secrets.GCP_SA_JSON }}
GCS_BUCKET: ${{ secrets.GCS_BUCKET }}
GCS_PREFIX: ${{ secrets.GCS_PREFIX }}
run: |
python src/pipeline.py