Skip to content

Commit

Permalink
Update sphinx-build.yml
Browse files Browse the repository at this point in the history
Make sure deleted files are no longer being served
  • Loading branch information
jsiegle committed Mar 14, 2024
1 parent 41bd64b commit 1a0dab8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
- name: Commit documentation changes
run: |
git clone https://github.com/open-ephys/doc-template.git --branch gh-pages --single-branch gh-pages
cp -r docs/html/* gh-pages/
cd gh-pages
rm -rf *
cp -r ../docs/html/* .
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
Expand All @@ -57,4 +58,4 @@ jobs:
with:
branch: gh-pages
directory: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a0dab8

Please sign in to comment.