From e951cc3231b899e9ed0dd3f6ac5b6f7880a01303 Mon Sep 17 00:00:00 2001 From: Marco Kellershoff Date: Tue, 6 Aug 2024 00:01:19 +0200 Subject: [PATCH] fix(ci): fix deploy docs workflow --- .github/workflows/pages.yml | 8 ++++++-- .github/workflows/release.yml | 1 + .yamllint.yaml | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .yamllint.yaml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 0b5a311..ab6a61e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,3 +1,4 @@ +--- name: Deploy docs on: @@ -14,8 +15,10 @@ permissions: pages: write id-token: write -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +# Allow only one concurrent deployment, +# skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want +# to allow these production deployments to complete. concurrency: group: "pages" cancel-in-progress: false @@ -34,6 +37,7 @@ jobs: with: node-version: 20 cache: 'npm' + cache-dependency-path: docs/package-lock.json - name: Build run: scripts/build-docs.sh - name: Setup Pages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aebcea9..6774ab3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +--- name: Release on: diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..7214609 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,5 @@ +--- +extends: default +rules: + truthy: + check-keys: false