File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ validate :
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ BUNDLE_PATH : gems
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ with :
19
+ submodules : recursive
20
+
21
+ - name : Set up Ruby
22
+ uses : ruby/setup-ruby@v1
23
+ with :
24
+ ruby-version : 2.7
25
+ bundler-cache : true
26
+ cache-version : 1
27
+
28
+ - name : Build
29
+ run : rake build
Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ task :submodules => ['_sass/brand/.git']
19
19
task :dev => [ :dependencies , :submodules ] do
20
20
sh ( 'bundle exec jekyll serve --drafts --config _config.yml' )
21
21
end
22
+
23
+ task :build => [ :dependencies , :submodules ] do
24
+ sh ( 'bundle exec jekyll build --config _config.yml' )
25
+ end
You can’t perform that action at this time.
0 commit comments