Skip to content

Add draft architechture for async streaming environment #132

Add draft architechture for async streaming environment

Add draft architechture for async streaming environment #132

Workflow file for this run

name: "Docs"
on:
push:
branches:
- master
paths:
- 'docs/**'
- 'adala/**'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'docs/**'
- 'adala/**'
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' # Run this job for pull requests only
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.11"
cache: true
- name: Install Python dependencies
run: |
pdm sync -G doc
- name: Build MkDocs site
run: |
cd docs/
pdm run mkdocs build
upload:
name: "Upload"
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master' # Run this job for pushes to the master branch only
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.11"
cache: true
- name: Install Python dependencies
run: |
pdm sync -G doc
- name: Deploy docs
run: |
cd docs/
pdm run mkdocs gh-deploy --force