Skip to content

Commit 49b7008

Browse files
Deploy Pages from doc branch
Trigger the gh-pages deploy workflow on pushes to `doc` (the site now lives here after main became the code repo). Remove the dead main/pages-src workflows that referenced site files no longer present on main. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1859562 commit 49b7008

3 files changed

Lines changed: 5 additions & 108 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/pages-branch.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# Fallback deploy: push static site to gh-pages branch.
2-
# Use this if GitHub Actions-based Pages is not yet enabled on the repo.
3-
# Settings → Pages → Build and deployment → Deploy from branch → gh-pages / (root)
1+
# Deploy the static site (this `doc` branch) to the gh-pages branch.
2+
# Repo setting: Settings → Pages → Build and deployment → Deploy from branch → gh-pages / (root)
3+
# The site sources (index.html, assets/, per-lab index.html) live on the `doc` branch;
4+
# the `main` branch holds reimplementation-ready course code only.
45
name: Deploy to gh-pages branch
56

67
on:
78
push:
8-
branches: ["main"]
9+
branches: ["doc"]
910
workflow_dispatch:
1011

1112
permissions:

0 commit comments

Comments
 (0)