Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
Signed-off-by: srinivas4u <[email protected]>
  • Loading branch information
srinivas4u authored Dec 19, 2024
1 parent 11765d3 commit 82a494a
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,30 @@ on:
- main

jobs:
deploy:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Streamlit
run: |
streamlit run streamlit_app.py &
sleep 10
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v2
uses: peaceiris/actions-gh-pages@v3
with:
target_branch: gh-pages
build_dir: .
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 82a494a

Please sign in to comment.