-
Notifications
You must be signed in to change notification settings - Fork 8
50 lines (39 loc) · 1.11 KB
/
etl-docs.yaml
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
50
name: etl-docs
# this is separate from etl.yaml due to rate limiting issues with GoatCounter
# for now, we'll just try to run this on a weekly basis
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * */2"
jobs:
ingest-etl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GCLOUD_JSON }}
- uses: extractions/setup-just@v1
- uses: actions/setup-python@v4
with:
python-version: 3.12
- uses: quarto-dev/quarto-actions/setup@v2
- name: install requirements
run: |
pip install uv
just setup
- name: ingest
run: |
. .venv/bin/activate
ia ingest --gh --zulip --docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ZULIP_KEY: ${{ secrets.ZULIP_KEY }}
GOAT_TOKEN: ${{ secrets.GOAT_TOKEN }}
- name: etl
run: |
. .venv/bin/activate
ia etl --gh --zulip --docs