Skip to content

Commit

Permalink
only deploy is version changed
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Mar 4, 2024
1 parent 405f831 commit ee2d36f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@9bf09145c3560e451e8d8e87b42ccb3fef5b692d # v36.3.0
with:
since_last_remote_commit: true
files: |
setup.py
- uses: actions/setup-node@v2
with:
node-version: '18'
Expand All @@ -30,4 +37,5 @@ jobs:
working-directory: streamfy
- run: python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
if: steps.changed-files.outputs.any_changed == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 2 additions & 0 deletions examples/all.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import streamlit as st
import streamfy as sy

st.set_page_config(page_title="Streamfy — Buefy for Streamlit")
st.title("Streamfy — Buefy for Streamlit")

st.write("""
This gallery showcases modern controls implemented in https://github.com/hal9ai/streamfy
""")
Expand Down

0 comments on commit ee2d36f

Please sign in to comment.