File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,18 @@ jobs:
2727 - name : Set up Python
2828 uses : actions/setup-python@v4
2929 with :
30- python-version : ' 3.x' # Change this if needed
30+ python-version : ' 3.x' # Ensure correct Python version
3131
3232 - name : Install Dependencies
33- run : |
34- pip install -r requirements.txt
33+ run : pip install -r requirements.txt
3534
36- - name : Build the Streamlit App
35+ - name : Generate Static Files
3736 run : |
3837 mkdir -p build
39- streamlit run netsec_scanner.py & # Runs in the background
40- sleep 10 # Wait for the app to start
41- wget -r -np -P build http://localhost:8501
38+ echo "<h1>NetSec Scanner Deployment</h1><p>This is a placeholder page until proper hosting is configured.</p>" > build/index.html
4239
4340 - name : Upload GitHub Pages Artifact
44- uses : actions/upload-pages-artifact@v2
41+ uses : actions/upload-pages-artifact@v1
4542 with :
4643 path : build
4744
5552 steps :
5653 - name : Deploy to GitHub Pages
5754 id : deployment
58- uses : actions/deploy-pages@v3
55+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments