diff --git a/.github/workflows/make_bentos.yml b/.github/workflows/make_bentos.yml index fc3a22e..85b4785 100644 --- a/.github/workflows/make_bentos.yml +++ b/.github/workflows/make_bentos.yml @@ -29,35 +29,6 @@ jobs: make cd .. - - name: Configure git - run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' - - - name: Commit and push changes - run: | - if [[ -n $(git status -s) ]]; then - git add bentoml/bentos/* - git commit -m "chore: make bentos" - git push origin nightly - else - echo "No changes to commit" - fi - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - generate-readme: - needs: make-bentos - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - name: Install dependencies run: | python -m pip install --upgrade pip @@ -74,9 +45,9 @@ jobs: - name: Commit and push changes run: | if [[ -n $(git status -s) ]]; then - git add README.md - git commit -m "Update README.md" - git push + git add bentoml/bentos/* + git commit -m "chore: make bentos" + git push origin nightly else echo "No changes to commit" fi diff --git a/gen_readme.py b/gen_readme.py index d6adf3c..83c0a6e 100644 --- a/gen_readme.py +++ b/gen_readme.py @@ -3,8 +3,6 @@ import sys -subprocess.check_call([sys.executable, "-m", "openllm", "repo", "remove", "default"]) -subprocess.check_call([sys.executable, "-m", "openllm", "repo", "update"]) model_list = subprocess.check_output( [sys.executable, "-m", "openllm", "model", "list"], env={"OPENLLM_TEST_REPO": "."},