File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Static Site to GitHub Pages (for QuantFusionTech Site)
1+ name : Deploy QuantFusionTech Site
22
33on :
44 push :
5- branches : [ main ] # Deploys when pushing to main
5+ branches :
6+ - main
67
78jobs :
89 deploy :
@@ -13,21 +14,17 @@ jobs:
1314 id-token : write
1415
1516 steps :
16- - name : Checkout code
17+ - name : Checkout repository
1718 uses : actions/checkout@v4
1819
19- - name : Verify docs/ directory exists
20- run : |
21- if [ ! -d "docs" ]; then
22- echo "❌ Error: 'docs' folder not found!"
23- exit 1
24- fi
25- echo "✅ Found docs/ directory"
20+ - name : Setup Pages
21+ uses : actions/configure-pages@v3
2622
27- - name : Upload artifact
28- uses : actions/upload-pages-artifact@v3
23+ - name : Upload site
24+ uses : actions/upload-pages-artifact@v1
2925 with :
30- path : ' docs/' # Deploys everything in /docs
26+ path : docs
27+ name : github-pages # 👈 required artifact name
3128
3229 - name : Deploy to GitHub Pages
3330 uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments