File tree Expand file tree Collapse file tree 5 files changed +53
-15
lines changed
Expand file tree Collapse file tree 5 files changed +53
-15
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ contents : read
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Ruby
21+ uses : ruby/setup-ruby@v1
22+ with :
23+ ruby-version : ' 3.2'
24+ bundler-cache : true
25+
26+ - name : Install dependencies
27+ run : bundle install
28+
29+ - name : Build Jekyll site
30+ run : bundle exec jekyll build
31+
32+ - name : Run HTMLProofer
33+ run : bundle exec htmlproofer ./_site --disable-external
34+
35+ - name : Upload site artifacts
36+ uses : actions/upload-artifact@v4
37+ if : success()
38+ with :
39+ name : site
40+ path : _site/
41+ retention-days : 7
Original file line number Diff line number Diff line change 55# Reserved hidden directory
66. * _space
77
8+ # Jekyll build artifacts
9+ _site /
10+ .sass-cache /
11+ .jekyll-cache /
12+ .jekyll-metadata
13+
14+ # Bundler
15+ vendor /
16+ .bundle /
17+ Gemfile.lock
18+
819# =========================
920# Operating System Files
1021# =========================
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# cmderdev.github.io
22The cmder.net page.
33
4- [ ![ Build Status ] ( https://travis-ci.org /cmderdev/cmderdev.github.io. svg?branch=master )] ( https://travis-ci.org /cmderdev/cmderdev.github.io )
4+ [ ![ CI ] ( https://github.com /cmderdev/cmderdev.github.io/actions/workflows/ci.yml/badge. svg )] ( https://github.com /cmderdev/cmderdev.github.io/actions/workflows/ci.yml )
You can’t perform that action at this time.
0 commit comments