From 17a6ab76c646775d8886cdec1bdba3659f1259d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 14:53:36 +0000 Subject: [PATCH 1/2] Initial plan From 4b9bf5e46e02189cc3b558822a3af756de4d4fc8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 15:06:32 +0000 Subject: [PATCH 2/2] Fix failing GitHub Pages deploy job - Add YAML front matter to index.md so Jekyll only outputs index.html (not a duplicate raw index.md static copy in the artifact) - Exclude README.md from Jekyll build via _config.yml - Add .github/workflows/pages.yml custom Pages workflow using recommended actions/configure-pages + jekyll-build-pages + deploy-pages approach --- .github/workflows/pages.yml | 42 +++++++++++++++++++++++++++++++++++++ _config.yml | 2 ++ index.md | 4 ++++ 3 files changed, 48 insertions(+) create mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..43e5e06 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,42 @@ +name: Deploy Jekyll site to Pages + +on: + push: + branches: ["main"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + 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 diff --git a/_config.yml b/_config.yml index 741772a..258c2f5 100644 --- a/_config.yml +++ b/_config.yml @@ -1,2 +1,4 @@ theme: jekyll-theme-slate title: Multiphysics Simulation Methods in Computer Graphics +exclude: + - README.md diff --git a/index.md b/index.md index 48d0d65..79e9e0e 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,7 @@ +--- +layout: default +--- +