Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Dec 8, 2023
1 parent a8f4cdd commit e7e6733
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- main
paths-ignore:
- "pyproject.toml"
# paths-ignore:
# - "pyproject.toml"

jobs:
publish:
Expand All @@ -29,6 +29,6 @@ jobs:
run: python -m pip install gradio
- name: Build pr package
run: |
gradio cc install
gradio cc build --npm_install="pnpm i"
gradio cc install --npm_install="pnpm i"
gradio cc build
gradio cc publish --pypi_username=__token__ --pypi_password=${{ secrets.PYPI_API_TOKEN }} --upload_demo=False

0 comments on commit e7e6733

Please sign in to comment.