Skip to content

Commit ca1b453

Browse files
committed
Update pipelines to work with newer ruby versions
1 parent c84081f commit ca1b453

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

.github/actions/middleman-build/Dockerfile

-3
This file was deleted.

.github/actions/middleman-build/entrypoint.sh

-7
This file was deleted.

.github/workflows/deploy.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ jobs:
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515

16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v2
1717

18-
- name: Build
19-
uses: ./.github/actions/middleman-build
18+
- name: Setup ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
bundler-cache: true
22+
- name: Install ruby dependencies
23+
run: bundle install
24+
- name: Bulid with middleman
25+
run: middleman build
2026

2127
- name: Deploy
2228
run: |

.github/workflows/test.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- run: echo $GITHUB_TOKEN | docker login --username $GITHUB_ACTOR --password-stdin docker.pkg.github.com
11-
env:
12-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v2
1411

15-
- name: Build
16-
uses: ./.github/actions/middleman-build
12+
- name: Setup ruby
13+
uses: ruby/setup-ruby@v1
14+
with:
15+
bundler-cache: true
16+
- name: Install ruby dependencies
17+
run: bundle install
18+
- name: Bulid with middleman
19+
run: middleman build

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.5

0 commit comments

Comments
 (0)