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 6048bb4 commit 7eab923
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,28 @@ jobs:
with:
python-version: '3.9'

- name: Fetch GitHub IP addresses
id: fetch-ip
run: |
ip_data=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/meta)
echo "github_ips=$ip_data" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Streamlit
run: |
streamlit run streamlit_app.py &
streamlit run Home.py &
sleep 10
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

- name: Display GitHub IP addresses
run: |
echo "GitHub IP addresses: ${{ env.github_ips }}"

0 comments on commit 7eab923

Please sign in to comment.