-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify, move frameworks, etc. (#63)
- Loading branch information
1 parent
7b555a7
commit 6e9d667
Showing
62 changed files
with
1,849 additions
and
2,613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: docs | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'justfile' | ||
- 'website/**' | ||
- 'dev-requirements.txt' | ||
- '.github/workflows/docs.yaml' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
||
- 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: build site | ||
run: | | ||
. .venv/bin/activate | ||
just docs-build | ||
- name: deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: website/_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: etl | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 9 * * *" | ||
|
||
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 and etl | ||
run: | | ||
. .venv/bin/activate | ||
ia ingest | ||
ia etl | ||
env: | ||
BQ_PROJECT_ID: voltrondata-demo | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
ZULIP_KEY: ${{ secrets.ZULIP_KEY }} | ||
GOAT_TOKEN: ${{ secrets.GOAT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
.env | ||
.venv | ||
venv | ||
data | ||
target | ||
.streamlit/secrets.toml | ||
*.ddb* | ||
.env | ||
datalake | ||
|
||
.quarto | ||
pres.html | ||
pres.ipynb | ||
pres_files | ||
|
||
_output | ||
|
||
dist | ||
|
||
tmp* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.