From 334a93d7ba55722d3db3714517e48c9680888a00 Mon Sep 17 00:00:00 2001 From: Tanvi Pooranmal Meena Date: Thu, 23 Jan 2025 22:19:43 +0530 Subject: [PATCH] Fix improper rendering of latex --- .github/workflows/jekyll-build.yml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/jekyll-build.yml diff --git a/.github/workflows/jekyll-build.yml b/.github/workflows/jekyll-build.yml new file mode 100644 index 000000000..5012bc9a1 --- /dev/null +++ b/.github/workflows/jekyll-build.yml @@ -0,0 +1,45 @@ +name: Build and Deploy Jekyll Site + +on: + push: + branches: + - master + pull_request: + branches: + - master + +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + name: Build Jekyll Site + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.4 + bundler-cache: true + + - name: Configure git safe directory + run: git config --global --add safe.directory /github/workspace + + - name: Install dependencies + run: | + bundle install + bundle update + + - name: Build Jekyll site + run: bundle exec jekyll build --trace --verbose + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./_site