From 86c69bf17793eb245816b28c2efc17813312e7b4 Mon Sep 17 00:00:00 2001 From: Arianna Bunnell <88562918+AriBunnell@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:09:03 -1000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08aec38..53abc06 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,6 +47,8 @@ jobs: - name: Install Bundler run: | gem install bundler --user-install + echo 'export PATH="$HOME/.local/share/gem/ruby/3.2.0/bin:$PATH"' >> ~/.bashrc + export PATH="$HOME/.local/share/gem/ruby/3.2.0/bin:$PATH" bundle config set path 'vendor/bundle' bundle install @@ -54,24 +56,4 @@ jobs: id: pages uses: actions/configure-pages@v4 - - name: Build with Jekyll - # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production - - - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v3 - - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + - name: Build