Skip to content

Commit 481f25b

Browse files
Refactor deployment script: organize output structure for GitHub Pages
1 parent daf19b1 commit 481f25b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
- name: Prepare deployment
3737
run: |
3838
# Create _site directory
39-
mkdir -p ./_site/docs
39+
mkdir -p ./_site/app
4040
41-
# Copy Blazor app output to root
42-
cp -r publish/wwwroot/* ./_site/
41+
# Copy docs (workshop walkthrough) to root
42+
cp -r docs/* ./_site/
4343
44-
# Copy docs folder
45-
cp -r docs/* ./_site/docs/
44+
# Copy Blazor app output to /app subdirectory
45+
cp -r publish/wwwroot/* ./_site/app/
4646
4747
# Fix base href for GitHub Pages subdirectory
48-
sed -i 's|<base href="/" />|<base href="/vscode-github-copilot-agent-lab/" />|g' ./_site/index.html
48+
sed -i 's|<base href="/" />|<base href="/vscode-github-copilot-agent-lab/app/" />|g' ./_site/app/index.html
4949
5050
# Prevent Jekyll processing
5151
touch ./_site/.nojekyll

0 commit comments

Comments
 (0)