File tree Expand file tree Collapse file tree 3 files changed +39
-15
lines changed
Expand file tree Collapse file tree 3 files changed +39
-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+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Set up Ruby
18+ uses : ruby/setup-ruby@v1
19+ with :
20+ ruby-version : ' 3.2'
21+ bundler-cache : true
22+
23+ - name : Install dependencies
24+ run : bundle install
25+
26+ - name : Build Jekyll site
27+ run : bundle exec jekyll build
28+
29+ - name : Run HTMLProofer
30+ run : bundle exec htmlproofer ./_site --disable-external
31+
32+ - name : Upload site artifacts
33+ uses : actions/upload-artifact@v4
34+ if : success()
35+ with :
36+ name : site
37+ path : _site/
38+ retention-days : 7
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