From 0d9bab59cddb52e0ca96c230facb794607be36a8 Mon Sep 17 00:00:00 2001 From: Brandon Parks Date: Tue, 19 Mar 2024 12:14:32 -0400 Subject: [PATCH] Update sphinx-build.yml Instead of assuming that "open-ephys" is the owner of the repo, call github.repository_owner to test Actions on forks of this repo. --- .github/workflows/sphinx-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index c9b87b6..6b84b78 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -43,7 +43,7 @@ jobs: # 2. Add and commit HTML files to gh-pages branch - name: Commit documentation changes run: | - git clone https://github.com/open-ephys/gui-docs.git --branch gh-pages --single-branch gh-pages + git clone https://github.com/${{ github.repository_owner }}/gui-docs.git --branch gh-pages --single-branch gh-pages cd gh-pages rm -rf * cp -r ../docs/html/* .