Skip to content

Commit d4caab5

Browse files
committed
Trying a new github actions configuration for pages
1 parent b026f2a commit d4caab5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31-
- name: Setup Pages
32-
uses: actions/configure-pages@v5
33-
- name: Build with Jekyll
34-
uses: actions/jekyll-build-pages@v1
31+
- name: Setup Ruby
32+
uses: ruby/setup-ruby@v1
3533
with:
36-
source: ./docs
37-
destination: ./_site
34+
ruby-version: '3.3'
35+
bundler-cache: true
36+
working-directory: ./docs
37+
- name: Build with Jekyll
38+
run: cd docs && bundle exec jekyll build
3839
- name: Upload artifact
3940
uses: actions/upload-pages-artifact@v3
40-
41+
with:
42+
path: ./docs/_site
4143
# Deployment job
4244
deploy:
4345
environment:

0 commit comments

Comments
 (0)