Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Update doc build ci job #115

Merged
merged 5 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: 🦜🔍 Documentation build and deploy
name: 🦜🔍 Documentation deploy

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: write
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/docs_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 🦜🔍 Documentation build
on:
pull_request:
branches:
- master

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs build
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ theme:
logo: img/ray.png
favicon: img/favicon.ico

repo_name: anyscale/aviary
repo_url: https://github.com/anyscale/aviary
repo_name: anyscale/ray-llm
repo_url: https://github.com/anyscale/ray-llm
edit_uri: ""

nav:
Expand Down