From a62c24304ecd8cb9e9eec05e868130a5831aed6f Mon Sep 17 00:00:00 2001
From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com>
Date: Sun, 4 May 2025 21:14:35 +0100
Subject: [PATCH] Update index redirect and comment out deploy conditions for
Pages
---
.github/workflows/docs-and-testcov.yml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/docs-and-testcov.yml b/.github/workflows/docs-and-testcov.yml
index 3073481..bd4c5f9 100644
--- a/.github/workflows/docs-and-testcov.yml
+++ b/.github/workflows/docs-and-testcov.yml
@@ -101,18 +101,14 @@ jobs:
cp last-commit-date.json target/doc/rustframe/
mkdir -p target/doc/rustframe/.github
cp .github/rustframe_logo.png target/doc/rustframe/.github/
-
- mkdir -p target/doc/docs
- mv target/doc/rustframe/ target/doc/docs/
-
- echo "" > target/doc/index.html
+ echo "" > target/doc/index.html
- name: Upload Pages artifact
- if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
+ # if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: actions/upload-pages-artifact@v3
with:
path: target/doc/
- name: Deploy to GitHub Pages
- if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
- uses: actions/deploy-pages@v4
+ # if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
+ uses: actions/deploy-pages@v4
\ No newline at end of file