Skip to content

Commit 859be9e

Browse files
authored
Update deploy.yml
1 parent 61cac49 commit 859be9e

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name: Deploy Static Site to GitHub Pages (for QuantFusionTech Site)
1+
name: Deploy QuantFusionTech Site
22

33
on:
44
push:
5-
branches: [ main ] # Deploys when pushing to main
5+
branches:
6+
- main
67

78
jobs:
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

0 commit comments

Comments
 (0)