Skip to content

Commit

Permalink
Clobber exisitng files when copying built docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdnolan committed Aug 27, 2024
1 parent f4be38f commit f1eb0e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
conda activate mosaic_dev
pip check
cd docs
make clean && make html
make html
- name: Copy Docs and Commit
run: |
set -e
Expand All @@ -69,8 +69,8 @@ jobs:
cd gh-pages
# Create `.nojekyll` (if it doesn't already exist) for proper GH Pages configuration.
touch .nojekyll
# don't clobber existing release versions (in case we retroactively fixed them)
cp -r -n ../_build/html/* .
# copy source files, clobbering any existing (i.e. no `-n`)
cp -r ../_build/html/* .
# Configure git using GitHub Actions credentials.
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand Down

0 comments on commit f1eb0e2

Please sign in to comment.