From 0de19418be2b1d459f52d839892a84f8befd6375 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Thu, 25 Jan 2024 11:06:27 +0100 Subject: [PATCH] fix: add setup pages in workflow --- .github/workflows/docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e213fe6..e048ccd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,7 @@ name: Rust on: push: branches: ["main"] + workflow_dispatch: env: CARGO_TERM_COLOR: always @@ -24,6 +25,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v2 - name: Build run: cargo build --verbose - name: Build website @@ -31,7 +34,7 @@ jobs: - name: Upload coverage artifact uses: actions/upload-artifact@v4.3.0 with: - path: "dist/" + path: "dist" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1