From 61b9e5c78dc7c80d334bf3e48a99016675cfa5e6 Mon Sep 17 00:00:00 2001 From: Josh Siegle Date: Tue, 12 Mar 2024 11:15:55 -0700 Subject: [PATCH] Update sphinx-build.yml --- .github/workflows/sphinx-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index 575c735..7f02e64 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -44,7 +44,10 @@ jobs: - name: Commit documentation changes run: | git clone https://github.com/open-ephys/gui-docs.git --branch gh-pages --single-branch gh-pages - git rm -rf gh-pages # remove all previous files + cd gh-pages + git rm -rf . # remove all previous files + git restore --staged + cd .. cp -r docs/html/* gh-pages/ cd gh-pages git config --local user.email "action@github.com"