From 909af2f45c0e0703ea44c8cb6043ae771e7d0a25 Mon Sep 17 00:00:00 2001 From: vinayak sharma Date: Tue, 17 Feb 2026 15:12:05 +0530 Subject: [PATCH] Add CI workflow Signed-off-by: vinayak sharma --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..0393abbc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + branches: [ master, main ] + pull_request: + branches: [ master, main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.57.2' + extended: true + + - name: Build + run: hugo --minify + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Markdown Lint + uses: DavidAnson/markdownlint-cli2-action@v16 + continue-on-error: true + with: + globs: 'content/**/*.md'