From af7189953c87dae06ae93124c3052892d5c8d552 Mon Sep 17 00:00:00 2001 From: Jens L Date: Thu, 23 Mar 2023 21:40:36 +0100 Subject: [PATCH] website: fix build (#5060) * ci: build website Signed-off-by: Jens Langhammer * fix build Signed-off-by: Jens Langhammer --------- Signed-off-by: Jens Langhammer --- .github/workflows/ci-website.yml | 15 +++++++++++++++ .../item.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-website.yml b/.github/workflows/ci-website.yml index 8a170a375..0d7258fe0 100644 --- a/.github/workflows/ci-website.yml +++ b/.github/workflows/ci-website.yml @@ -39,10 +39,25 @@ jobs: - name: test working-directory: website/ run: npm test + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3.6.0 + with: + node-version: '18' + cache: 'npm' + cache-dependency-path: website/package-lock.json + - working-directory: website/ + run: npm ci + - name: build + working-directory: website/ + run: npm run build ci-website-mark: needs: - lint-prettier - test + - build runs-on: ubuntu-latest steps: - run: echo mark diff --git a/website/blog/2023-03-16-authentik-on-django-500-slower-to-run-but-200-faster-to-build/item.md b/website/blog/2023-03-16-authentik-on-django-500-slower-to-run-but-200-faster-to-build/item.md index bd1fab2a1..45e0814b9 100644 --- a/website/blog/2023-03-16-authentik-on-django-500-slower-to-run-but-200-faster-to-build/item.md +++ b/website/blog/2023-03-16-authentik-on-django-500-slower-to-run-but-200-faster-to-build/item.md @@ -19,7 +19,7 @@ hide_table_of_contents: false # authentik on Django: 500% slower to run but 200% faster to build -I started [authentik](https://github.com/goauthentik/authentik) in 2018 as an open source hobby project but in 2022, with help from Open Core Ventures, I started [Authentik Security](../2022-11-02-the-next-step-for-authentik.md), an open core company built around the authentik project. +I started [authentik](https://github.com/goauthentik/authentik) in 2018 as an open source hobby project but in 2022, with help from Open Core Ventures, I started [Authentik Security](../2022-11-02-the-next-step-for-authentik/item.md), an open core company built around the authentik project. Building a new startup is, unsurprisingly, quite different from building and maintaining an open source project. With the arrival of funding and the requirement to build a business that could sustain itself now and scale as the company evolved, I had to confront some of the technical choices I made when building authentik – in particular, the choice to build authentik using Python and Django.