Skip to content

Commit efef31d

Browse files
authored
Update jekyll.yml
1 parent 2aae3ed commit efef31d

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/jekyll.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,45 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
6-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
71
name: Deploy Jekyll site to Pages
82

93
on:
10-
# Runs on pushes targeting the default branch
114
push:
125
branches: ["main"]
136

14-
# Allows you to run this workflow manually from the Actions tab
157
workflow_dispatch:
168

17-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
189
permissions:
1910
contents: read
2011
pages: write
2112
id-token: write
2213

23-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2514
concurrency:
2615
group: "pages"
2716
cancel-in-progress: false
2817

2918
jobs:
30-
# Build job
3119
build:
3220
runs-on: ubuntu-latest
3321
steps:
3422
- name: Checkout
3523
uses: actions/checkout@v4
24+
3625
- name: Setup Ruby
37-
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
3826
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
3927
with:
40-
ruby-version: '3.1' # Not needed with a .ruby-version file
4128
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4229
cache-version: 0 # Increment this number if you need to re-download cached gems
30+
4331
- name: Setup Pages
4432
id: pages
4533
uses: actions/configure-pages@v5
34+
4635
- name: Build with Jekyll
47-
# Outputs to the './_site' directory by default
4836
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4937
env:
5038
JEKYLL_ENV: production
39+
5140
- name: Upload artifact
52-
# Automatically uploads an artifact from the './_site' directory by default
5341
uses: actions/upload-pages-artifact@v3
5442

55-
# Deployment job
5643
deploy:
5744
environment:
5845
name: github-pages

0 commit comments

Comments
 (0)