Skip to content

Commit c549c43

Browse files
razzeeebarthalion
authored andcommitted
Update pipelines to work with newer ruby versions
1 parent 048e2b9 commit c549c43

File tree

5 files changed

+19
-23
lines changed

5 files changed

+19
-23
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-7
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- run: echo $GITHUB_TOKEN | docker login --username $GITHUB_ACTOR --password-stdin docker.pkg.github.com
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
16-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v2
1713

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

2123
- name: Deploy
2224
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: bundle exec 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)