From 980a150bc17fab7ee0f2de8dd11993b5159b3e53 Mon Sep 17 00:00:00 2001 From: Nikita Masych Date: Fri, 18 Oct 2024 19:43:31 +0300 Subject: [PATCH] ci: using gitbook docs for dev --- .github/workflows/docs.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 22840c6..cf50a82 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,9 +1,11 @@ -name: Deploy Rust Docs to GitHub Pages +name: Deploy Dev Rust Docs to GitHub Pages on: push: - branches: - - main + paths: + - "**/*.rs" # Any Rust source code files + - Cargo.toml # Cargo.toml file + - Cargo.lock # Cargo.lock file concurrency: group: "pages" @@ -43,7 +45,7 @@ jobs: id-token: write environment: - name: docs + name: dev-docs url: ${{ steps.deployment.outputs.page_url }} steps: