From 0d1823ff6ba5f624dc00e6a3fd3ce590b56518d3 Mon Sep 17 00:00:00 2001 From: mjovanc Date: Wed, 19 Jun 2024 12:41:59 +0200 Subject: [PATCH] Updating docs.yml --- .github/workflows/docs.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4eaccc7..0aacc28 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,8 +4,8 @@ on: push: branches: - master - paths: - - "docs/**" + #paths: + # - "docs/**" jobs: build: @@ -18,25 +18,27 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 - - name: Setup Rust - uses: ATiltedTree/setup-rust@v1 + - name: Install Rust + uses: actions-rs/toolchain@v1 with: - rust-version: stable + profile: minimal + toolchain: stable components: clippy - name: Install mdbook run: | cargo install mdbook + working-directory: docs - name: Build mdBook - working-directory: docs run: | mdbook build + working-directory: docs - name: Copy CNAME file - working-directory: docs run: | cp CNAME ./book/ + working-directory: docs - name: Setup Pages uses: actions/configure-pages@v5 @@ -44,7 +46,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: '.' + path: './docs' - name: Deploy to GitHub Pages id: deployment