Skip to content

Commit 46c62f4

Browse files
committed
Fix issues GitHub gem
1 parent cca13e8 commit 46c62f4

File tree

1 file changed

+4
-36
lines changed

1 file changed

+4
-36
lines changed

.github/workflows/jekyll.yml

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -36,42 +36,20 @@ jobs:
3636
uses: ruby/setup-ruby@v1 # v1.115.3
3737
with:
3838
bundler: "Gemfile.lock"
39-
ruby-version: '2.7.4'
39+
ruby-version: '3.1' # Not needed with a .ruby-version file
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
4242
- name: Setup Pages
4343
id: pages
44-
uses: actions/configure-pages@v2
44+
uses: actions/configure-pages@v5
4545
- name: Build with Jekyll
4646
# Outputs to the './_site' directory by default
4747
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4848
env:
4949
JEKYLL_ENV: production
5050
- name: Upload artifact
5151
# Automatically uploads an artifact from the './_site' directory by default
52-
uses: actions/upload-pages-artifact@v1
53-
54-
############################################################################
55-
# DEPRECATED - COMMENT ON June 7, 2024
56-
# Use GitHub Actions' cache to shorten build times and decrease load on servers
57-
#- uses: actions/cache@v2
58-
# with:
59-
# path: vendor/bundle
60-
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
61-
# restore-keys: |
62-
# ${{ runner.os }}-gems-
63-
64-
# Standard usage
65-
#- uses: helaili/jekyll-action@v2
66-
# with:
67-
# token: ${{ secrets.MY_SECRET }}
68-
69-
# Specify the Jekyll source location as a parameter
70-
#- uses: helaili/jekyll-action@v2
71-
# with:
72-
# token: ${{ secrets.MY_SECRET }}
73-
# jekyll_src: 'my_website'
74-
#############################################################################
52+
uses: actions/upload-pages-artifact@v3
7553

7654
# Deployment job
7755
deploy:
@@ -83,14 +61,4 @@ jobs:
8361
steps:
8462
- name: Deploy to GitHub Pages
8563
id: deployment
86-
uses: actions/deploy-pages@v1
87-
88-
#pre_build_commands: git config --global http.version HTTP/1.1; apk fetch git-lfs;
89-
# target_branch: 'master'
90-
91-
# Specify the target branch (optional)
92-
#- uses: helaili/jekyll-action@v2
93-
# with:
94-
# pre_build_commands: git config --global http.version HTTP/1.1; apk fetch git-lfs;
95-
# token: ${{ secrets.MY_SECRET }}
96-
# target_branch: 'master'
64+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)