From 7337ae6dae2b6306c6b63beefa0a18eaa0f2fbc1 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 16 Oct 2024 16:46:09 +0200 Subject: [PATCH] ci: align workflows with other repositories --- .github/workflows/_changelog_entry_check.yaml | 2 +- .github/workflows/_version_conflict_check.yaml | 2 +- .github/workflows/build_and_deploy_docs.yaml | 3 +-- Makefile | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/_changelog_entry_check.yaml b/.github/workflows/_changelog_entry_check.yaml index c0783f5f..78ebefc5 100644 --- a/.github/workflows/_changelog_entry_check.yaml +++ b/.github/workflows/_changelog_entry_check.yaml @@ -26,5 +26,5 @@ jobs: pipx install --python ${{ env.PYTHON_VERSION }} poetry make install-dev - - name: Execute changelog entry check + - name: Run changelog entry check run: make check-changelog-entry diff --git a/.github/workflows/_version_conflict_check.yaml b/.github/workflows/_version_conflict_check.yaml index 6d119113..e02341b4 100644 --- a/.github/workflows/_version_conflict_check.yaml +++ b/.github/workflows/_version_conflict_check.yaml @@ -26,5 +26,5 @@ jobs: pipx install --python ${{ env.PYTHON_VERSION }} poetry make install-dev - - name: Execute version conflict check + - name: Run version conflict check run: make check-version-conflict diff --git a/.github/workflows/build_and_deploy_docs.yaml b/.github/workflows/build_and_deploy_docs.yaml index 671e64b3..04934dc6 100644 --- a/.github/workflows/build_and_deploy_docs.yaml +++ b/.github/workflows/build_and_deploy_docs.yaml @@ -63,8 +63,7 @@ jobs: run: make build-api-reference - name: Build Docusaurus docs - run: npm run build - working-directory: ./website + run: make build-docs - name: Set up GitHub Pages uses: actions/configure-pages@v5 diff --git a/Makefile b/Makefile index d3a97e21..33dd0063 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ check-code: lint type-check unit-tests check-changelog-entry check-version-confl build-api-reference: cd website && poetry run ./build_api_reference.sh -build-docs: build-api-reference +build-docs: cd website && npm clean-install && npm run build run-docs: build-api-reference