Skip to content

Commit d367a86

Browse files
committed
Merge branch 'ci-validate'
2 parents b7abd9c + b656f04 commit d367a86

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/validate.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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

Rakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ task :submodules => ['_sass/brand/.git']
1919
task :dev => [:dependencies, :submodules] do
2020
sh('bundle exec jekyll serve --drafts --config _config.yml')
2121
end
22+
23+
task :build => [:dependencies, :submodules] do
24+
sh('bundle exec jekyll build --config _config.yml')
25+
end

0 commit comments

Comments
 (0)