From 061200872ed259d71b222f3d2ba763dd6f2f6ff1 Mon Sep 17 00:00:00 2001 From: kota-karthik Date: Fri, 15 Nov 2024 12:03:18 +0530 Subject: [PATCH] Removed Jekyll config and disabled Jekyll processing on GitHub Pages --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ .nojekyll | 0 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .nojekyll diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..57c211d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: Deploy MkDocs site to GitHub Pages + +on: + push: + branches: + - main # or whatever branch you're using + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' + + - name: Install MkDocs and dependencies + run: | + python -m pip install --upgrade pip + pip install mkdocs + + - name: Build the site + run: mkdocs build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29