Skip to content

Commit ac5c4d6

Browse files
authored
Introduce GitHub Actions (#38)
* Introduce GitHub Actions * Jekyll build * Remove runner.os * Delete .travis.yml
1 parent 3e66a7f commit ac5c4d6

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: Jekyll Build
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Set up Ruby
10+
uses: eregon/use-ruby-action@master
11+
with:
12+
ruby-version: 2.7
13+
- uses: actions/cache@v1
14+
with:
15+
path: vendor/bundle
16+
key: bundler-${{ hashFiles('**/Gemfile.lock')}}
17+
restore-keys: |
18+
bundler-
19+
- name: bundle install
20+
run: |
21+
gem install bundler
22+
bundle install --jobs 4 --retry 3 --path vendor/bundle
23+
- name: Jekyll Build
24+
run: bundle exec jekyll build

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)