From c99c8ecf67b3e919a162fef1e09e173aca8f1880 Mon Sep 17 00:00:00 2001 From: Arianna Bunnell <88562918+AriBunnell@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:13:03 -1000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53abc06..8962c97 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,4 +56,24 @@ jobs: id: pages uses: actions/configure-pages@v4 - - name: Build + - 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