Skip to content

Commit

Permalink
Try to fix deployment issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarSEB committed Feb 4, 2025
1 parent 853362c commit c3f2fa4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler-cache: true

- name: Install ImageMagick and dependencies
run: |
sudo apt-get update
sudo apt-get install -y imagemagick libmagickwand-dev libmagickcore-dev pkg-config
# Set the PKG_CONFIG_PATH to help rmagick find the MagickCore library
- name: Set PKG_CONFIG_PATH for rmagick
run: echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV

- name: Building site
run: JEKYLL_ENV=production bundle exec jekyll build --profile --trace
env:
Expand All @@ -35,7 +39,6 @@ jobs:
YOUTUBE_API_TOKEN: ${{ secrets.YOUTUBE_API_TOKEN }}
GMAIL: ${{ secrets.CESAR_PERSONAL_GMAIL }}

# Cache Jekyll _site directory after build
- name: Cache Jekyll _site directory
uses: actions/cache@v3
with:
Expand Down

0 comments on commit c3f2fa4

Please sign in to comment.