From 4291a84087214041cb180a9682d2bc0a84086e78 Mon Sep 17 00:00:00 2001 From: eikek <eike.kettner@posteo.de> Date: Thu, 3 Feb 2022 23:01:40 +0100 Subject: [PATCH 1/2] Add new ci file --- .github/workflows/ci-docs.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-docs.yml diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml new file mode 100644 index 00000000..ab779eb2 --- /dev/null +++ b/.github/workflows/ci-docs.yml @@ -0,0 +1,25 @@ +name: Check Website +on: + pull_request: + branches: + - "current-docs" + - "master" +jobs: + check-website: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2.4.0 + with: + fetch-depth: 0 + - name: Set current version + run: echo "DOCSPELL_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV + - uses: jorelali/setup-elm@v3 + with: + elm-version: 0.19.1 + - uses: cachix/install-nix-action@v16 + with: + nix_path: nixpkgs=channel:nixos-21.11 + - name: Print nixpkgs version + run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' + - name: Build website (${{ env.DOCSPELL_VERSION }}) + run: nix-shell website/shell.nix --run "sbt make-website" From 85542e5f1a4dbace6b87917c93e44ce17541a108 Mon Sep 17 00:00:00 2001 From: eikek <eike.kettner@posteo.de> Date: Thu, 3 Feb 2022 23:04:55 +0100 Subject: [PATCH 2/2] Update README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4e7e6a48..9fce319e 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ points. Checkout the short demo videos (<1min), present on the [project page](https://docspell.org/#demos). Here are some screenshots: - - - - - - - + + + + + + + ## Try it