From bec7199ab6cb3f3628d6a459716d028c294a4c36 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 23 Apr 2025 00:01:02 -0400 Subject: fix(docs): make the docs respect light/dark mode (#334) Closes #333 I'm very bad at design so I just picked colors that looked reasonable enough to me. Hopefully this will be enough to get us to the next stage! Signed-off-by: Xe Iaso --- .github/workflows/docs-test.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/docs-test.yml (limited to '.github') diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml new file mode 100644 index 0000000..b1bc76d --- /dev/null +++ b/.github/workflows/docs-test.yml @@ -0,0 +1,39 @@ +name: Docs test build + +on: + pull_request: + branches: [ "main" ] + +permissions: + contents: read + actions: write + +jobs: + build: + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 + + - name: Docker meta + id: meta + uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0 + with: + images: ghcr.io/techarohq/anubis/docs + + - name: Build and push + id: build + uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0 + with: + context: ./docs + cache-to: type=gha + cache-from: type=gha + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64 + push: false -- cgit v1.2.3