File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 python 04-functions/basics.py
5959 echo "All scripts executed successfully!"
6060
61- vercel-deploy-check :
62- runs-on : ubuntu-latest
63- needs : build
64- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
65-
66- steps :
67- - uses : actions/checkout@v4
68-
69- - name : Setup Node.js for Vercel CLI
70- uses : actions/setup-node@v4
71- with :
72- node-version : ' 18'
73-
74- - name : Install Vercel CLI
75- run : npm install --global vercel@latest
76-
77- - name : Verify Vercel configuration
78- run : |
79- echo "Checking Vercel configuration..."
80- cat vercel.json
81- echo "✓ vercel.json exists and is valid"
82-
83- # Check API files exist
84- if [ -f "api/__init__.py" ]; then
85- echo "✓ API module found"
86- else
87- echo "✗ API module not found"
88- exit 1
89- fi
90-
91- if [ -f "index.html" ]; then
92- echo "✓ Frontend HTML found"
93- else
94- echo "✗ Frontend HTML not found"
95- exit 1
96- fi
97-
98- echo "✅ All Vercel deployment prerequisites met!"
Original file line number Diff line number Diff line change 11```
2- # Python
3- __pycache__ /
4- * .py [cod ]
5- * $py.class
6- * .so
7- .Python
8- build /
9- develop-eggs /
10- dist /
11- downloads /
12- eggs /
13- .eggs /
14- lib /
15- lib64 /
16- parts /
17- sdist /
18- var /
19- wheels /
20- * .egg-info /
21- .installed.cfg
22- * .egg
23- MANIFEST
242
25- # Virtual environments
26- venv /
27- .venv /
28- ENV /
29-
30- # IDE
31- .vscode /
32- .idea /
33-
34- # Environment variables
35- .env
36- .env.local
37- * .env. *
38-
39- # Logs
40- * .log
41-
42- # Coverage
43- .coverage
44- htmlcov /
45- .coverage. *
46- .cache
47-
48- # Testing
49- .pytest_cache /
50- .mypy_cache /
51-
52- # Distribution / packaging
53- .pybuild /
54- ```
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ pytest>=7.0.0 # Testing framework
1414pytest-cov >= 4.0.0 # Coverage reporting
1515pytest-xdist >= 3.0.0 # Parallel test execution
1616
17- # Vercel Deployment
18- # (Vercel provides Python runtime, no additional packages needed)
1917
2018# Documentation Tools (optional)
2119# sphinx>=6.0.0 # Documentation generator
You can’t perform that action at this time.
0 commit comments