@@ -36,42 +36,20 @@ jobs:
36
36
uses : ruby/setup-ruby@v1 # v1.115.3
37
37
with :
38
38
bundler : " Gemfile.lock"
39
- ruby-version : ' 2.7.4 '
39
+ ruby-version : ' 3.1 ' # Not needed with a .ruby-version file
40
40
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
41
41
cache-version : 0 # Increment this number if you need to re-download cached gems
42
42
- name : Setup Pages
43
43
id : pages
44
- uses : actions/configure-pages@v2
44
+ uses : actions/configure-pages@v5
45
45
- name : Build with Jekyll
46
46
# Outputs to the './_site' directory by default
47
47
run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48
48
env :
49
49
JEKYLL_ENV : production
50
50
- name : Upload artifact
51
51
# 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
75
53
76
54
# Deployment job
77
55
deploy :
83
61
steps :
84
62
- name : Deploy to GitHub Pages
85
63
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