Skip to content

fix: DIA-1403: Modify the refine prompt #403

fix: DIA-1403: Modify the refine prompt

fix: DIA-1403: Modify the refine prompt #403

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 poetry
uses: snok/install-poetry@v1
with:
python-version: "3.11"
cache: true
- name: Install Python dependencies
run: |
poetry install --sync
- name: Build MkDocs site
run: |
cd docs/
poetry 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 poetry
uses: snok/install-poetry@v1
with:
python-version: "3.11"
cache: true
- name: Install Python dependencies
run: |
poetry install --sync
- name: Deploy docs
run: |
cd docs/
poetry run mkdocs gh-deploy --force