From 3b61336e303775465da79db3dfdded2992991628 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Fri, 13 Jan 2023 19:24:46 +0000 Subject: [PATCH] Github specific CI changes --- .github/workflows/build-and-deploy.yml | 2 -- build_all_branches.sh | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 2e99fd8..c071af4 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -24,5 +24,3 @@ jobs: with: branch: gh-pages folder: public - force: false - clean: false diff --git a/build_all_branches.sh b/build_all_branches.sh index 2ebbf9f..528dc28 100755 --- a/build_all_branches.sh +++ b/build_all_branches.sh @@ -3,10 +3,10 @@ DEFAULT=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p') mkdir base -cat > base/_redirects << EOF -/ /$DEFAULT/ 301 -/index.html /$DEFAULT/index.html 301 +cat > base/index.html << EOF + EOF +touch base/.nojekyll # Generating documentation for each other branch in a subdirectory for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$'); do