Skip to content

Commit 7623ffd

Browse files
committed
upgrade versions
1 parent 3d1943b commit 7623ffd

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/jekyll.yml

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
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: ['master']
13-
14-
# Allows you to run this workflow manually from the Actions tab
156
workflow_dispatch:
167

17-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
188
permissions:
199
contents: read
2010
pages: write
@@ -27,35 +17,32 @@ concurrency:
2717
cancel-in-progress: false
2818

2919
jobs:
30-
# Build job
3120
build:
3221
runs-on: ubuntu-latest
3322
steps:
3423
- name: Checkout
3524
uses: actions/checkout@v4
3625
- name: Setup node
37-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
3827
with:
39-
node-version: '18'
28+
node-version: 22
4029
- name: Setup NPM dependencies
4130
run: npm ci
4231
- name: Setup Ruby
43-
uses: ruby/setup-ruby@v1.152.0
32+
uses: ruby/setup-ruby@v1
4433
with:
4534
bundler-cache: true
4635
- name: Setup Pages
4736
id: pages
48-
uses: actions/configure-pages@v3
37+
uses: actions/configure-pages@v5
4938
- name: Build with Jekyll
50-
# Outputs to the './_site' directory by default
5139
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
5240
env:
5341
JEKYLL_ENV: production
5442
- name: Upload artifact
5543
# Automatically uploads an artifact from the './_site' directory by default
5644
uses: actions/upload-pages-artifact@v3
5745

58-
# Deployment job
5946
deploy:
6047
environment:
6148
name: github-pages
@@ -65,4 +52,4 @@ jobs:
6552
steps:
6653
- name: Deploy to GitHub Pages
6754
id: deployment
68-
uses: actions/deploy-pages@v2
55+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)