|
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 | 1 | # Sample workflow for building and deploying a Jekyll site to GitHub Pages |
7 | 2 | name: Deploy Jekyll site to Pages |
8 | 3 |
|
@@ -34,22 +29,22 @@ jobs: |
34 | 29 | - name: Checkout |
35 | 30 | uses: actions/checkout@v4 |
36 | 31 | - name: Setup Ruby |
37 | | - uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 |
| 32 | + uses: ruby/setup-ruby@v1 |
38 | 33 | with: |
39 | | - ruby-version: '3.1' # Not needed with a .ruby-version file |
40 | | - bundler-cache: true # runs 'bundle install' and caches installed gems automatically |
| 34 | + ruby-version: '3.2' # Updated to the latest stable Ruby version |
| 35 | + bundler-cache: true # Runs 'bundle install' and caches installed gems automatically |
41 | 36 | cache-version: 0 # Increment this number if you need to re-download cached gems |
42 | 37 | - name: Setup Pages |
43 | 38 | id: pages |
44 | | - uses: actions/configure-pages@v5 |
| 39 | + uses: actions/configure-pages@v6 # Updated to the latest version |
45 | 40 | - name: Build with Jekyll |
46 | 41 | # Outputs to the './_site' directory by default |
47 | 42 | run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" |
48 | 43 | env: |
49 | 44 | JEKYLL_ENV: production |
50 | 45 | - name: Upload artifact |
51 | 46 | # Automatically uploads an artifact from the './_site' directory by default |
52 | | - uses: actions/upload-pages-artifact@v3 |
| 47 | + uses: actions/upload-pages-artifact@v4 # Updated to the latest version |
53 | 48 |
|
54 | 49 | # Deployment job |
55 | 50 | deploy: |
|
61 | 56 | steps: |
62 | 57 | - name: Deploy to GitHub Pages |
63 | 58 | id: deployment |
64 | | - uses: actions/deploy-pages@v4 |
| 59 | + uses: actions/deploy-pages@v5 # Updated to the latest version |
0 commit comments