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 0e1ea12  Set GEM_HOME to ensure gems are installed in a directory with 
write permissions
0e1ea12 is described below

commit 0e1ea12b02764f6ee9aff555ea53a643cd69f193
Author: Johnsd11 <[email protected]>
AuthorDate: Tue Mar 4 16:36:37 2025 -0500

    Set GEM_HOME to ensure gems are installed in a directory with write 
permissions
---
 .github/workflows/jekyll.yml | 22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index 66b3705..a7c510d 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -1,38 +1,28 @@
-name: Deploy Jekyll site to Pages
-
-on:
-  push:
-    branches: ["main"]
-  workflow_dispatch:
-
-permissions:
-  contents: read
-  pages: write
-  id-token: write
-
-concurrency:
-  group: "pages"
-  cancel-in-progress: false
-
 jobs:
   build:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
         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
+          export GEM_HOME=$HOME/.gem
+          export PATH=$GEM_HOME/bin:$PATH
           gem install bundler  # Install Bundler
+
       - name: Setup Pages
         id: pages
         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
 

Reply via email to