From 8f3b116f9e7295407c8e64f0f358e8b541d2e5d2 Mon Sep 17 00:00:00 2001 From: MishalAbdullah <85678545+Mishalabdullah@users.noreply.github.com> Date: Sun, 12 May 2024 12:38:49 +0530 Subject: [PATCH] Update jekyll.yml --- .github/workflows/jekyll.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 2312ee7..ed9212c 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,8 +34,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - path: events - name: Setup Ruby uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: @@ -46,16 +44,12 @@ jobs: id: pages uses: actions/configure-pages@v5 - name: Build Jekyll site - working-directory: events run: | - bundle config set --local path events/ - bundle install --gemfile=events/Gemfile + bundle install bundle exec jekyll build - name: Upload artifact uses: actions/upload-pages-artifact@v3 - with: - path: events - + deploy: environment: name: github-pages @@ -65,10 +59,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - with: - path: mucampus-events + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - with: - working-directory: mucampus-events +