Skip to content

Commit

Permalink
Update jekyll.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishalabdullah authored May 12, 2024
1 parent d4047d8 commit 326ff06
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
Expand All @@ -6,7 +7,6 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages


on:
# Runs on pushes targeting the default branch
push:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
ruby-version: "3.1" # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
Expand All @@ -48,15 +48,13 @@ jobs:
- name: Build Jekyll site
working-directory: events
run: |
bundle config set --local path events/
bundle install --gemfile=events/Gemfile
bundle exec jekyll build
bundle config set --local path events/
bundle install --gemfile=events/Gemfile
bundle exec jekyll build
- name: Upload artifact
with:
path : events
uses: actions/upload-pages-artifact@v3

with:
path: events

# Deployment job
deploy:
Expand All @@ -66,6 +64,10 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
path: mucampus-events # Specify the desired directory path
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 326ff06

Please sign in to comment.