Skip to content

Commit 191f3d9

Browse files
authored
Update jekyll.yml to v4 artifact action
1 parent eae6c36 commit 191f3d9

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/jekyll.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,31 @@
22
# They are provided by a third-party and are governed by
33
# separate terms of service, privacy policy, and support
44
# documentation.
5-
65
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
76
name: Deploy Jekyll site to Pages
8-
97
on:
108
# Runs on pushes targeting the default branch
119
push:
1210
branches: ["main"]
13-
1411
# Allows you to run this workflow manually from the Actions tab
1512
workflow_dispatch:
16-
1713
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1814
permissions:
1915
contents: read
2016
pages: write
2117
id-token: write
22-
2318
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2419
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2520
concurrency:
2621
group: "pages"
2722
cancel-in-progress: false
28-
2923
jobs:
3024
# Build job
3125
build:
3226
runs-on: ubuntu-latest
3327
steps:
3428
- name: Checkout
35-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3630
- name: Setup Ruby
3731
uses: ruby/setup-ruby@v1.207.0
3832
with:
@@ -41,7 +35,7 @@ jobs:
4135
cache-version: 0 # Increment this number if you need to re-download cached gems
4236
- name: Setup Pages
4337
id: pages
44-
uses: actions/configure-pages@v3
38+
uses: actions/configure-pages@v4
4539
- name: Build with Jekyll
4640
# Outputs to the './_site' directory by default
4741
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
@@ -50,7 +44,6 @@ jobs:
5044
- name: Upload artifact
5145
# Automatically uploads an artifact from the './_site' directory by default
5246
uses: actions/upload-pages-artifact@v4
53-
5447
# Deployment job
5548
deploy:
5649
environment:
@@ -61,4 +54,4 @@ jobs:
6154
steps:
6255
- name: Deploy to GitHub Pages
6356
id: deployment
64-
uses: actions/deploy-pages@v2
57+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)