Skip to content

Commit 5f6df01

Browse files
committed
Replace travis with github actions
1 parent e1afbf9 commit 5f6df01

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push
5+
6+
jobs:
7+
jekyll:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '14'
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: 2.5 # Not needed with a .ruby-version file
17+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
18+
- run: npm install
19+
- run: npm run build
20+
- uses: crazy-max/ghaction-github-pages@v2
21+
with:
22+
target_branch: master
23+
build_dir: _site
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

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

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ exclude: [
3434
'_assets',
3535
'Gemfile',
3636
'Gemfile.lock',
37+
'vendor',
3738
]
3839
keep_files: [
3940
'dist',

0 commit comments

Comments
 (0)