Skip to content

Commit dddfe22

Browse files
committed
updated deployment workflow
1 parent fc84093 commit dddfe22

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,25 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
- name: Setup Ruby
37-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
37+
uses: ruby/setup-ruby@v1
3838
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
39+
# The Ruby version is determined by either a `.ruby-version` or a `.tool-versions` file in root of the repo.
4040
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4141
cache-version: 0 # Increment this number if you need to re-download cached gems
42+
ruby-version: 3.1
4243
- name: Setup Pages
4344
id: pages
44-
uses: actions/configure-pages@v3
45+
uses: actions/configure-pages@v5
4546
- name: Build with Jekyll
4647
# Outputs to the './_site' directory by default
4748
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4849
env:
4950
JEKYLL_ENV: production
5051
- name: Upload artifact
5152
# Automatically uploads an artifact from the './_site' directory by default
52-
uses: actions/upload-pages-artifact@v2
53+
uses: actions/upload-pages-artifact@v3
5354

5455
# Deployment job
5556
deploy:
@@ -61,4 +62,4 @@ jobs:
6162
steps:
6263
- name: Deploy to GitHub Pages
6364
id: deployment
64-
uses: actions/deploy-pages@v2
65+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)