Skip to content

Commit aed5ebf

Browse files
committed
🐛 Fix: correct code to replace absolute paths in streamlit EMP python files
1 parent bc30896 commit aed5ebf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ jobs:
5353
# path: docs/_build/
5454

5555
# --- Streamlit example deployment ---
56+
- name: Fix Absolute Paths in Streamlit Scripts
57+
run: |
58+
find docs/streamlit_report/sections -type f -name "*.py" -exec sed -i '' 's|/home/runner/work/vuegen/vuegen/docs/||g' {} +
5659
- name: Publish Streamlit report to streamlit-example branch
5760
uses: peaceiris/actions-gh-pages@v4
5861
with:
5962
github_token: ${{ secrets.GITHUB_TOKEN }}
6063
publish_dir: docs/
61-
publish_branch: streamlit-report-example
62-
- name: Fix Absolute Paths in Streamlit Scripts
63-
run: |
64-
find docs/streamlit_report/ -type f -name "*.py" -exec sed -i 's|/home/runner/work/vuegen/vuegen/docs/|docs/|g' {} +
64+
publish_branch: streamlit-report-example

0 commit comments

Comments
 (0)