mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-25 03:12:13 +00:00
I had to open this PR since I initially worked from my fork, and it requires a handful of work to trigger a new github action on my fork's specific branch (couldn't find a way, at least, despite trying all of them). --------- Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
22 lines
527 B
YAML
22 lines
527 B
YAML
name: Automatic Documentation for Launcher
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
update_docs:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Launcher
|
|
id: install-launcher
|
|
run: cargo install --git https://github.com/${{ github.repository }} --branch ${{ github.head_ref }} text-generation-launcher
|
|
|
|
- name: Check launcher Docs are up-to-date
|
|
run: |
|
|
echo text-generation-launcher --help
|
|
python update_doc.py --check
|