Skip to content

Commit 485fa44

Browse files
authored
fix (#15)
1 parent 28b4d66 commit 485fa44

File tree

6 files changed

+192
-195
lines changed

6 files changed

+192
-195
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ on:
77

88
jobs:
99
github-pages:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
with:
1414
submodules: true
1515
- name: Build Jekyll image
16-
run: docker build -t jekyll-build .
16+
run: docker build --platform linux/amd64 -t jekyll-build .
1717
- name: Make output dir
1818
run: mkdir _site && touch _site/.nojekyll
1919
- name: Jekyll build
20-
run: docker run -v `pwd`:/srv/jekyll -e JEKYLL_ENV=production jekyll-build jekyll build
20+
run: docker run --platform linux/amd64 -v `pwd`:/srv/jekyll -e JEKYLL_ENV=production jekyll-build jekyll build
2121
- name: Deploy
22-
uses: peaceiris/actions-gh-pages@v3
22+
uses: peaceiris/actions-gh-pages@v4
2323
with:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525
publish_dir: ./_site
2626
cname: docs.imandra.ai
27-
- uses: 8398a7/action-slack@v3
27+
- uses: 8398a7/action-slack@v3.19.0
2828
with:
2929
status: ${{ job.status }}
3030
fields: workflow,job,commit,repo,ref,author,took

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM jekyll/jekyll:3.6.2
1+
FROM jekyll/jekyll:3.8
22

33
ADD Gemfile .
44
ADD Gemfile.lock .
55

66
RUN bundle install
77

8-
CMD jekyll build
8+
CMD ["jekyll", "build"]

Gemfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
source 'https://rubygems.org'
2-
gem 'jekyll', '~> 3.6.2'
2+
gem 'github-pages', group: :jekyll_plugins
33
gem "ffi", "< 1.17.0"
4-
group :jekyll_plugins do
5-
gem 'github-pages'
6-
gem "jekyll-theme-slate"
7-
end
4+

0 commit comments

Comments
 (0)