Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
CI: Only update docs when docs actually change (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns authored Apr 22, 2024
1 parent 68cdc04 commit 36b07ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Website Upload
on:
push:
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
# We only run this GitHub action upon new commits to `main`
branches:
- main
- initialdocs # Temporary branch for initial documentation
jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,4 +36,4 @@ jobs:
# Do not remove the `.nojekyll` file: we have manually added an empty `.nojekyll` file at the root of the `gh-pages` branch and we don't want having to re-create it after each build.
clean-exclude: |
.nojekyll
CNAME
CNAME

0 comments on commit 36b07ae

Please sign in to comment.