Skip to content

Commit 17e74a0

Browse files
committed
Update jekyll.yml
Took 5 minutes
1 parent d1a55a7 commit 17e74a0

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.github/workflows/jekyll.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,38 +27,25 @@ concurrency:
2727
cancel-in-progress: false
2828

2929
jobs:
30-
# Build job
3130
build:
3231
runs-on: ubuntu-latest
3332
steps:
3433
- name: Checkout
3534
uses: actions/checkout@v4
36-
- name: Setup Ruby
37-
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
38-
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
40-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41-
cache-version: 0 # Increment this number if you need to re-download cached gems
4235
- name: Setup Pages
43-
id: pages
4436
uses: actions/configure-pages@v5
45-
- name: Build with Jekyll
46-
# Outputs to the './_site' directory by default
47-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48-
env:
49-
JEKYLL_ENV: production
37+
- name: Build
38+
uses: actions/jekyll-build-pages@v1
5039
- name: Upload artifact
51-
# Automatically uploads an artifact from the './_site' directory by default
5240
uses: actions/upload-pages-artifact@v3
53-
54-
# Deployment job
5541
deploy:
56-
environment:
57-
name: github-pages
58-
url: ${{ steps.deployment.outputs.page_url }}
5942
runs-on: ubuntu-latest
6043
needs: build
6144
steps:
6245
- name: Deploy to GitHub Pages
6346
id: deployment
6447
uses: actions/deploy-pages@v4
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+

0 commit comments

Comments
 (0)