Skip to content

Commit

Permalink
chore: 🎨 adapt CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgasquez committed Dec 11, 2023
1 parent 8615a56 commit b5649e0
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b5649e0

Please sign in to comment.