Skip to content

Commit ce9e509

Browse files
authored
Merge pull request #100 from Rajeswarikuppusamy18/master
Set up CI : on push to master, CI should build and push to gh-pages branch
2 parents 5574c76 + 55d78f1 commit ce9e509

File tree

2 files changed

+52
-20
lines changed

2 files changed

+52
-20
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: Build the project
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up ruby-2.6
17+
uses: actions/setup-ruby@v1
18+
with:
19+
ruby-version: '2.6'
20+
21+
- name: Configure git
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: |
25+
git config --global user.name github-actions
26+
git config --global user.email [email protected]
27+
git remote set-url origin "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
28+
29+
- name: Build and publish
30+
run: |
31+
bundle install
32+
rake publish

Gemfile.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ GEM
1212
json
1313
celluloid (0.16.0)
1414
timers (~> 4.0.0)
15-
chunky_png (1.3.8)
15+
chunky_png (1.4.0)
1616
coffee-script (2.4.1)
1717
coffee-script-source
1818
execjs
@@ -31,17 +31,17 @@ GEM
3131
sass (>= 3.2, < 3.5)
3232
erubis (2.7.0)
3333
execjs (2.7.0)
34-
ffi (1.9.18)
35-
haml (5.0.2)
34+
ffi (1.14.2)
35+
haml (5.2.1)
3636
temple (>= 0.8.0)
3737
tilt
3838
hike (1.2.3)
39-
hitimes (1.2.6)
39+
hitimes (2.0.0)
4040
hooks (0.4.1)
4141
uber (~> 0.0.14)
4242
i18n (0.7.0)
4343
json (1.8.6)
44-
kramdown (1.14.0)
44+
kramdown (1.17.0)
4545
libv8 (3.16.14.19)
4646
listen (2.10.1)
4747
celluloid (~> 0.16.0)
@@ -83,26 +83,26 @@ GEM
8383
middleman-syntax (2.0.0)
8484
middleman-core (~> 3.2)
8585
rouge (~> 1.0)
86-
minitest (5.10.3)
87-
multi_json (1.12.1)
88-
padrino-helpers (0.12.8.1)
86+
minitest (5.14.3)
87+
multi_json (1.15.0)
88+
padrino-helpers (0.12.9)
8989
i18n (~> 0.6, >= 0.6.7)
90-
padrino-support (= 0.12.8.1)
91-
tilt (~> 1.4.1)
92-
padrino-support (0.12.8.1)
90+
padrino-support (= 0.12.9)
91+
tilt (>= 1.4.1, < 3)
92+
padrino-support (0.12.9)
9393
activesupport (>= 3.1)
94-
rack (1.6.8)
94+
rack (1.6.13)
9595
rack-test (0.6.3)
9696
rack (>= 1.0)
9797
rake (10.4.2)
98-
rb-fsevent (0.10.2)
99-
rb-inotify (0.9.10)
100-
ffi (>= 0.5.0, < 2)
98+
rb-fsevent (0.10.4)
99+
rb-inotify (0.10.1)
100+
ffi (~> 1.0)
101101
redcarpet (3.3.4)
102102
ref (2.0.0)
103103
rouge (1.9.1)
104104
sass (3.4.25)
105-
sprockets (2.12.4)
105+
sprockets (2.12.5)
106106
hike (~> 1.2)
107107
multi_json (~> 1.0)
108108
rack (~> 1.0)
@@ -112,16 +112,16 @@ GEM
112112
sprockets-sass (1.3.1)
113113
sprockets (~> 2.0)
114114
tilt (~> 1.1)
115-
temple (0.8.0)
115+
temple (0.8.2)
116116
therubyracer (0.12.3)
117117
libv8 (~> 3.16.14.15)
118118
ref
119-
thor (0.19.4)
119+
thor (1.1.0)
120120
thread_safe (0.3.6)
121121
tilt (1.4.1)
122122
timers (4.0.4)
123123
hitimes
124-
tzinfo (1.2.3)
124+
tzinfo (1.2.9)
125125
thread_safe (~> 0.1)
126126
uber (0.0.15)
127127
uglifier (2.7.2)
@@ -143,4 +143,4 @@ DEPENDENCIES
143143
therubyracer (~> 0.12.1)
144144

145145
BUNDLED WITH
146-
1.15.1
146+
1.17.3

0 commit comments

Comments
 (0)