Skip to content

Commit

Permalink
Fix publish_dir in Deploy to Github Pages step
Browse files Browse the repository at this point in the history
  • Loading branch information
stbaione committed Dec 2, 2024
1 parent 01da13c commit ed37ef1
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/ci-sglang-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
name: SGLang Llama Benchmarking Tests

on:
# TODO: Remove PR trigger after verification
pull_request:
workflow_dispatch:
schedule:
# Weekdays at 4:00 AM UTC = 9:00 PM PST.
Expand Down Expand Up @@ -82,14 +80,13 @@ jobs:
- name: Run Shortfin Benchmark Tests
run: pytest -v app_tests/benchmark_tests/llm/sglang_benchmarks/shortfin_benchmark_test.py --log-cli-level=INFO --html=out/llm/shortfin/index.html

# TODO: Uncomment after verification
# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
# with:
# github_token: ${{ secrets.SHARK_PLATFORM_GH_TOKEN }}
# publish_dir: ./out/llm/sgl_benchmark/shortfin
# destination_dir: ./llm/sgl_benchmark/shortfin
# keep_files: true
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.SHARK_PLATFORM_GH_TOKEN }}
publish_dir: ./out/llm/shortfin
destination_dir: ./llm/sgl_benchmark/shortfin
keep_files: true

benchmark_sglang:
if: ${{ github.repository_owner == 'nod-ai' || github.event_name != 'schedule' }}
Expand Down Expand Up @@ -197,11 +194,10 @@ jobs:
- name: Cleanup SGLang Image
run: docker image rm lmsysorg/sglang:v0.3.5.post1-rocm620

# TODO: Uncomment after verifying
# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
# with:
# github_token: ${{ secrets.SHARK_PLATFORM_GH_TOKEN }}
# publish_dir: ./out/llm/sgl_benchmark/sglang
# destination_dir: ./llm/sgl_benchmark/sglang
# keep_files: true
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.SHARK_PLATFORM_GH_TOKEN }}
publish_dir: ./out/llm/sglang
destination_dir: ./llm/sgl_benchmark/sglang
keep_files: true

0 comments on commit ed37ef1

Please sign in to comment.