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 {}).lib.version' + - name: Build website (${{ env.DOCSPELL_VERSION }}) + run: nix-shell website/shell.nix --run "sbt make-website" 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: -![screenshot-1](website/site/content/docs/webapp/docspell-curate-1-dark.png) -![screenshot-2](website/site/content/docs/webapp/custom-fields-03-dark.png) -![screenshot-3](website/site/content/docs/webapp/multiedit-04-dark.png) -![screenshot-4](website/site/content/docs/webapp/mail-item-1.png) -![screenshot-5](website/site/static/screenshots/mobile/Screenshot_2021-02-14-03-small.jpg) -![screenshot-5](website/site/static/screenshots/mobile/Screenshot_2021-02-14-04-small.jpg) -![screenshot-5](website/site/static/screenshots/mobile/Screenshot_2021-02-14-09-small.jpg) +![screenshot-1](website/site/content/docs/webapp/dashboards-01_dark.png) +![screenshot-2](website/site/content/docs/webapp/docspell-curate-1_dark.png) +![screenshot-3](website/site/content/docs/webapp/custom-fields-03_dark.png) +![screenshot-4](website/site/content/docs/webapp/multiedit-04_dark.png) +![screenshot-5](website/site/content/docs/webapp/mail-item-1.png) +![screenshot-7](website/site/static/screenshots/mobile/Screenshot_2021-02-14-04-small.jpg) +![screenshot-8](website/site/static/screenshots/mobile/Screenshot_2021-02-14-09-small.jpg) ## Try it