File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 ls -1 _posts/*.md 2>/dev/null | head -5 || echo " (none)"
3434
3535 - name : Build with Jekyll
36- run : bundle exec jekyll build
36+ run : |
37+ # Remove CNAME to avoid conflicts with preview
38+ rm -f CNAME
39+ # Build with preview config that includes staging
40+ bundle exec jekyll build --config _config.yml,_config_preview.yml
3741 env :
3842 JEKYLL_ENV : production
3943
Original file line number Diff line number Diff line change 11# Preview-specific configuration
22# This extends the main _config.yml for preview builds
33
4- # Collections for staging posts - COMMENTED OUT FOR TESTING
5- # collections:
6- # staging:
7- # output: true
8- # permalink: /:collection/:name/
4+ # Collections for staging posts
5+ collections :
6+ staging :
7+ output : true
8+ permalink : /:collection/:name/
99
10- # Make staging posts appear in site.posts - COMMENTED OUT FOR TESTING
11- # defaults:
12- # - scope:
13- # path: "staging"
14- # type: "staging"
15- # values:
16- # layout: "post"
10+ # Make staging posts appear in site.posts
11+ defaults :
12+ - scope :
13+ path : " staging"
14+ type : " staging"
15+ values :
16+ layout : " post"
1717
18- # Include staging directory in the build - COMMENTED OUT FOR TESTING
19- # include:
20- # - staging
18+ # Include staging directory in the build
19+ include :
20+ - staging
You can’t perform that action at this time.
0 commit comments