Skip to content

Commit cd88bdf

Browse files
Merge pull request #47 from JonusNattapong/fix/github-pages-deploy
[codex] Fix GitHub Pages deployment workflow
2 parents d8bd8ef + 801357a commit cd88bdf

3 files changed

Lines changed: 4 additions & 63 deletions

File tree

.github/workflows/deploy.yml

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

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Install Rust
2525
uses: dtolnay/rust-toolchain@stable
2626

27+
- name: Configure GitHub Pages
28+
uses: actions/configure-pages@v5
29+
2730
- name: Cache cargo dependencies
2831
uses: actions/cache@v4
2932
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ cd c-cpp-book && mdbook serve --open # http://localhost:3000
9898

9999
### Deployment
100100

101-
The site auto-deploys to GitHub Pages on push to `master` via `.github/workflows/pages.yml`. No manual steps needed.
101+
The site auto-deploys to GitHub Pages on push to `main` via `.github/workflows/pages.yml`. No manual steps needed.
102102

103103
</details>

0 commit comments

Comments
 (0)