File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy static site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : pages
16+ cancel-in-progress : true
17+
18+ jobs :
19+ deploy :
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deployment.outputs.page_url }}
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v6
27+
28+ - name : Configure GitHub Pages
29+ uses : actions/configure-pages@v5
30+
31+ - name : Upload static files
32+ uses : actions/upload-pages-artifact@v4
33+ with :
34+ path : .
35+
36+ - name : Deploy to GitHub Pages
37+ id : deployment
38+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ . DS_Store
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 1+ # Programming Deep Reading
2+
3+ 実際のコードを「全体の地図」「1つの動き」「設計上の意味」から読み解く、プログラミング学習サイトです。
4+
5+ 公開予定URL: < https://nob-git-dev.github.io/learning-programming/ >
6+
7+ ## 公開中の教材
8+
9+ - Kilo Deep Reading #01 — ` main() ` とイベントループ
10+
11+ ## ファイル構成
12+
13+ - ` index.html ` — 学習サイトのトップページ
14+ - ` kilo-deep-reading-01.html ` — Kiloの第1レッスン
15+ - ` .github/workflows/pages.yml ` — GitHub Pagesへの自動公開
16+ - ` .nojekyll ` — ファイルをそのまま静的配信するための設定
17+
18+ ## 公開方法
19+
20+ ` main ` ブランチへの反映をきっかけに、GitHub Actionsが静的ファイルをGitHub Pagesへ公開します。
21+
22+ ローカルで確認する場合は、任意の静的HTTPサーバーでこのディレクトリを配信してください。
23+
24+ ## 方針
25+
26+ - 初学者が細部で迷子にならないよう、全体像から説明する
27+ - 入力・状態変更・描画を具体的な時系列で追う
28+ - What / How / Why / CS / Review の層を分ける
29+ - 英語や命名の補足は必要なときだけ開ける
You can’t perform that action at this time.
0 commit comments