From 84790de7e72e7cd7f70babd29135fdd8f2958cfe Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Tue, 1 Jul 2025 00:33:20 +0400 Subject: [PATCH] chore: enhance documentation workflow and update GitHub Actions - Added a new script in package.json to start documentation locally. - Updated GitHub Actions workflow to enable concurrent deployments for GitHub Pages and included a step to configure GitHub Pages. These changes improve the documentation development process and streamline deployment to GitHub Pages. --- .github/workflows/docs.yml | 5 ++++- package.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 64657ae02..9770da709 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ permissions: # Allow only one concurrent deployment concurrency: group: "pages" - cancel-in-progress: false + cancel-in-progress: true jobs: build: @@ -31,6 +31,9 @@ jobs: with: fetch-depth: 0 + - name: Configure GitHub Pages + uses: actions/configure-pages@v4 + - name: Setup Node.js uses: actions/setup-node@v4 with: diff --git a/package.json b/package.json index 5938a4a34..f4f9474ca 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "format": "prettier --write resources/", "format:check": "prettier --check resources/", "lint": "eslint . --fix", - "types": "tsc --noEmit" + "types": "tsc --noEmit", + "docs": "cd docs && npm run start" }, "devDependencies": { "@eslint/js": "^9.19.0",