Skip to content

Commit a8889d2

Browse files
committed
use GitHub Actions instead of Travis CI
https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing fix #101
1 parent dd24aad commit a8889d2

File tree

7 files changed

+27
-35
lines changed

7 files changed

+27
-35
lines changed

.github/workflows/ci.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
schedule:
6+
- cron: '0 0 * * 0'
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 30
11+
steps:
12+
- uses: actions/[email protected]
13+
- uses: actions/setup-ruby@v1
14+
with:
15+
ruby-version: "2.7.2"
16+
- run: gem install bundler:1.17.3
17+
- run: bundle install
18+
- run: bundle exec middleman build
19+
- if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/develop' && github.event_name == 'push' }}
20+
uses: JamesIves/[email protected]
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
BRANCH: master
24+
FOLDER: ./build
25+
CLEAN: true

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.4
1+
2.7.2

.travis.yml

-10
This file was deleted.

.travis/deploy_rsa.enc

-3.17 KB
Binary file not shown.

.travis/publish-site.sh

-21
This file was deleted.

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
2-
ruby '2.3.4'
2+
ruby '2.7.2'
33

44
gem 'middleman', '3.4.1'
55
gem 'middleman-syntax'

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## ScalikeJDBC website
22

3-
[![Build Status](https://travis-ci.com/scalikejdbc/scalikejdbc.github.io.svg?branch=develop)](https://travis-ci.com/scalikejdbc/scalikejdbc.github.io)
4-
53
http://scalikejdbc.org/
64

75
### How to contribute scalikejdbc.org?

0 commit comments

Comments
 (0)