From 07115fc1b31881a9d3e633fb9942e255a9263594 Mon Sep 17 00:00:00 2001 From: sripwoud Date: Fri, 12 Jul 2024 10:23:38 +0200 Subject: [PATCH] ci: fix docs workflow paths trigger diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d0badd1..798257a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,7 +2,7 @@ name: docs on: push: branches: [main] - paths: ['src/**/*.rs', 'Cargo.toml', '.github/workflows/docs.yml'] + paths: ['crates/**/*.rs', '**/Cargo.toml', '.github/workflows/docs.yml'] workflow_dispatch: permissions: @@ -22,8 +22,8 @@ jobs: run: | make build.docs # we need an index.html page (cargo doc doesn't create it) - # this will just redirect to target/doc/example/index.html - echo '' > target/doc/index.html + # this will just redirect to target/doc/imt/index.html + echo '' > target/doc/index.html - uses: actions/upload-pages-artifact@v3 with: path: target/doc --- .github/workflows/docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d0badd1..798257a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,7 +2,7 @@ name: docs on: push: branches: [main] - paths: ['src/**/*.rs', 'Cargo.toml', '.github/workflows/docs.yml'] + paths: ['crates/**/*.rs', '**/Cargo.toml', '.github/workflows/docs.yml'] workflow_dispatch: permissions: @@ -22,8 +22,8 @@ jobs: run: | make build.docs # we need an index.html page (cargo doc doesn't create it) - # this will just redirect to target/doc/example/index.html - echo '' > target/doc/index.html + # this will just redirect to target/doc/imt/index.html + echo '' > target/doc/index.html - uses: actions/upload-pages-artifact@v3 with: path: target/doc