This is an automated email from the ASF dual-hosted git repository.

johnsd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ctakes-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e5deb8  adding ruby install to workflow
7e5deb8 is described below

commit 7e5deb86e306938d2e9c9b65824a002f082470e7
Author: Johnsd11 <[email protected]>
AuthorDate: Tue Mar 4 16:33:59 2025 -0500

    adding ruby install to workflow
---
 .github/workflows/jekyll.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index a2e29ac..66b3705 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -19,22 +19,22 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v4  # Update to v4
-      - name: Setup Ruby
-        uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf
-        with:
-          ruby-version: '3.1'
-          bundler-cache: true
-          cache-version: 0
+        uses: actions/checkout@v4
+      - name: Install Ruby and Bundler
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y ruby-full
+          ruby -v  # Check Ruby version
+          gem install bundler  # Install Bundler
       - name: Setup Pages
         id: pages
-        uses: actions/configure-pages@v3  # Keep using v3 for pages 
configuration
+        uses: actions/configure-pages@v3
       - name: Build with Jekyll
         run: bundle exec jekyll build --baseurl "${{ 
steps.pages.outputs.base_path }}"
         env:
           JEKYLL_ENV: production
       - name: Upload artifact
-        uses: actions/upload-pages-artifact@v3  # Update to v3 (pages artifact 
upload)
+        uses: actions/upload-pages-artifact@v3
 
   deploy:
     environment:
@@ -45,4 +45,4 @@ jobs:
     steps:
       - name: Deploy to GitHub Pages
         id: deployment
-        uses: actions/deploy-pages@v2  # Use v2 for deployment
+        uses: actions/deploy-pages@v2

Reply via email to