Skip to content

Commit

Permalink
Remove check for change in docs (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezmiller authored Mar 29, 2024
1 parent 543f397 commit d111687
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Check for changes in docs folder
id: docs_check
run: |
git fetch origin master
if [[ $(git diff --name-only origin/${{ github.event.repository.default_branch }} -- './docs') ]]; then
echo "There have been changes to the docs."
echo "docs_changed=true" >> $GITHUB_OUTPUT
else
echo "No changes to the docs."
echo "docs_changed=false" >> $GITHUB_OUTPUT
fi
- name: Deploy documentation
if: ${{ steps.docs_check.outputs.docs_changed == 'true' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
Expand Down

0 comments on commit d111687

Please sign in to comment.