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

Commit

Permalink
Merge pull request #115 from sihanwang41/test
Browse files Browse the repository at this point in the history
Update doc build ci job
  • Loading branch information
sihanwang41 authored Jan 8, 2024
2 parents 78e076e + f2305fd commit ca95107
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
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

0 comments on commit ca95107

Please sign in to comment.