-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8615a56
commit b5649e0
Showing
1 changed file
with
22 additions
and
10 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 |
---|---|---|
|
@@ -4,22 +4,34 @@ on: | |
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: "0 10 * * 1" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docs: | ||
name: Publish 🚀 | ||
run: | ||
name: Run | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Build Docker | ||
run: make build | ||
- name: Run dbt | ||
run: docker run -t -v $PWD/:/workspaces/datadex/ --env-file .env davidgasquez/datadex:latest make run | ||
- name: Render Quarto | ||
run: docker run -t -v $PWD/:/workspaces/datadex/ --env-file .env davidgasquez/datadex:latest make quarto | ||
uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
- name: Install dependencies | ||
run: | | ||
pip install -e . | ||
- name: Run | ||
run: | | ||
make run | ||
- uses: quarto-dev/quarto-actions/setup@v2 | ||
- name: Render | ||
run: | | ||
make render | ||
- name: Publish Docs | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: .quarto/output | ||
folder: portal/.quarto/_site |