From 7eab923c915f9b638c78a0736088b928b8ed047c Mon Sep 17 00:00:00 2001 From: srinivas4u Date: Thu, 19 Dec 2024 14:19:19 +0530 Subject: [PATCH] Update python-package-conda.yml Signed-off-by: srinivas4u --- .github/workflows/python-package-conda.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index adb5343..5df579d 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -18,6 +18,12 @@ 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 @@ -25,7 +31,7 @@ jobs: - name: Run Streamlit run: | - streamlit run streamlit_app.py & + streamlit run Home.py & sleep 10 - name: Deploy to GitHub Pages @@ -33,3 +39,7 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public + + - name: Display GitHub IP addresses + run: | + echo "GitHub IP addresses: ${{ env.github_ips }}"