Skip to content

Commit 80760d8

Browse files
Replace Blazor app deployment with workshop docs site
- Create beautiful landing page in docs/index.html - Cyberpunk-themed design matching the workshop - Links to all lab parts and resources - Shows prerequisites, duration, and features - Simplified deploy workflow (no .NET build needed)
1 parent 18b3f07 commit 80760d8

2 files changed

Lines changed: 496 additions & 17 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy to GitHub Pages
1+
name: Deploy Workshop Docs to GitHub Pages
22

33
on:
44
push:
@@ -23,30 +23,16 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26-
- uses: actions/setup-dotnet@v4
27-
with:
28-
dotnet-version: '10.0.x'
29-
30-
- name: Restore dependencies
31-
run: dotnet restore .solutions/finished/SocOps/SocOps.csproj
32-
33-
- name: Build finished solution
34-
run: dotnet publish .solutions/finished/SocOps/SocOps.csproj -c Release -o release --nologo
35-
3626
- name: Configure for GitHub Pages
3727
run: |
38-
# Update base href for subdirectory hosting
39-
sed -i 's/<base href="\/" \/>/<base href="\/${{ github.event.repository.name }}\/" \/>/g' release/wwwroot/index.html
40-
# Copy index.html to 404.html for SPA routing
41-
cp release/wwwroot/index.html release/wwwroot/404.html
4228
# Prevent Jekyll processing
43-
touch release/wwwroot/.nojekyll
29+
touch docs/.nojekyll
4430
4531
- uses: actions/configure-pages@v4
4632

4733
- uses: actions/upload-pages-artifact@v3
4834
with:
49-
path: release/wwwroot
35+
path: docs
5036

5137
- name: Deploy to GitHub Pages
5238
id: deployment

0 commit comments

Comments
 (0)